From 6ca5f6e004eb431ba282635863ad9d7f63f0a76a Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Wed, 22 May 2019 18:53:54 -0500 Subject: [PATCH] Document some titlescreen stuff --- bank_000.asm | 33 +- bank_001.asm | 20 +- bank_002.asm | 5 +- bank_003.asm | 14454 +--------------------------- bank_005.asm | 30 +- bank_006.asm | 371 +- bank_00a.asm | 15039 +----------------------------- charmap.asm | 27 + gfx/font.2bpp.lz | Bin 0 -> 285 bytes gfx/titlescreen.tilemap | Bin 0 -> 455 bytes gfx/titlescreen_tiles_1.2bpp.lz | Bin 0 -> 684 bytes gfx/titlescreen_tiles_2.2bpp.lz | Bin 0 -> 1505 bytes wram.asm | 7 +- 13 files changed, 269 insertions(+), 29717 deletions(-) create mode 100644 gfx/font.2bpp.lz create mode 100644 gfx/titlescreen.tilemap create mode 100644 gfx/titlescreen_tiles_1.2bpp.lz create mode 100644 gfx/titlescreen_tiles_2.2bpp.lz diff --git a/bank_000.asm b/bank_000.asm index 1990985..d05adcd 100755 --- a/bank_000.asm +++ b/bank_000.asm @@ -69,21 +69,21 @@ InitGame: ei xor a ldh [$8c], a - ld [$d03a], a - ld a, Bank(Call_006_4000) + ld [wExtraGameEnabled], a + ld a, Bank(ExecuteTitlescreen) ld [wLoadedROMBank], a ld [MBC1RomBank], a ld a, $05 ld [$d08a], a ld a, $06 ld [$d088], a - call Call_006_4000 + call ExecuteTitlescreen ld a, $0c ld [$d050], a ld a, [$d08a] ld [$d089], a call Call_000_231e - ld a, [$d03a] + ld a, [wExtraGameEnabled] ld [$d039], a ld a, Bank(Call_006_40e4) ld [wLoadedROMBank], a @@ -259,12 +259,12 @@ Call_000_0326: jr z, .jr_000_0354 res 5, [hl] ld a, $15 - call Call_000_1e96 + call PlaySE ld a, [$d02d] cp $09 jr nz, .jr_000_0359 ld a, [$d03c] - call Call_000_1eb4 + call PlaySong xor a ld [$d3df], a ld [$d3e0], a @@ -273,7 +273,7 @@ Call_000_0326: jr .jr_000_0359 .jr_000_0354: ld a, $14 - call Call_000_1e96 + call PlaySE .jr_000_0359: ldh a, [$8e] set 6, a @@ -526,7 +526,7 @@ Call_000_483: ret .jr_000_0510: ld a, $07 - call Call_000_1e96 + call PlaySE ld hl, $ff93 bit 4, [hl] jr nz, jr_000_0566 @@ -668,7 +668,7 @@ jr_000_0566: cp $ff jr z, .jr_000_0641 ld [$d03c], a - call Call_000_1eb4 + call PlaySong ld a, $ff ld [$d03d], a .jr_000_0641: @@ -1735,7 +1735,7 @@ Jump_000_0caf: bit 4, a jp z, .jump_000_0ece ld a, $01 - call Call_000_1e96 + call PlaySE ld a, [$d04f] or $01 ld [$d04f], a @@ -1798,7 +1798,7 @@ Jump_000_0caf: ld [$d3be], a push de ld a, $03 - call Call_000_1e96 + call PlaySE pop de jp .jump_000_0ece .jr_000_0e1b: @@ -1877,7 +1877,7 @@ Jump_000_0caf: jr nz, .jump_000_0ec8 push de ld a, $1e - call Call_000_1e96 + call PlaySE call Call_000_37b1 pop de ldh a, [$8d] @@ -4066,7 +4066,7 @@ Call_000_1e8f: ret -Call_000_1e96: +PlaySE: push bc ld [$d02e], a ld c, a @@ -4084,7 +4084,7 @@ Call_000_1e96: ret -Call_000_1eb4: +PlaySong: push bc ld c, a cp $05 @@ -4631,6 +4631,7 @@ Call_000_21e6: Call_000_21fb: +; This has something to do with loading a group of sprites that animate and have some sort of behavior logic. ld [$d3f2], a ld a, $ff ld [wClearAllSprites], a @@ -7071,7 +7072,7 @@ Call_000_3059: cp $78 ret nz ld a, [$d03c] - jp Call_000_1eb4 + jp PlaySong Call_000_3076: ld a, [$d053] @@ -7786,7 +7787,7 @@ Call_000_37a7: Call_000_37ac: ld a, $05 - call Call_000_1e96 + call PlaySE Call_000_37b1: ld a, [$d414] and a diff --git a/bank_001.asm b/bank_001.asm index b136eb8..841ebb4 100755 --- a/bank_001.asm +++ b/bank_001.asm @@ -446,7 +446,7 @@ Call_001_42bf: and $f3 ldh [$92], a ld a, $04 - call Call_000_1e96 + call PlaySE jr .jr_001_437c .jr_001_4361: ldh a, [$8d] @@ -553,7 +553,7 @@ Call_001_42bf: xor a ld [$d064], a ld a, $01 - call Call_000_1e96 + call PlaySE xor a ld [$d066], a call Call_375D @@ -601,7 +601,7 @@ Call_001_42bf: cp $01 jr nz, .jr_001_44a6 ld a, $ff - call Call_000_1e96 + call PlaySE .jr_001_44a6: ldh a, [$8e] ld c, a @@ -654,7 +654,7 @@ Call_001_42bf: ld a, $09 ld [$d07d], a ld a, $ff - call Call_000_1e96 + call PlaySE xor a ld [$d094], a ld [$d064], a @@ -801,7 +801,7 @@ Call_001_42bf: push af push bc ld a, $1f - call Call_000_1e96 + call PlaySE pop bc pop af .jr_001_4638: @@ -990,7 +990,7 @@ Jump_001_4783: set 2, a ldh [$8e], a ld a, $ff - call Call_000_1e96 + call PlaySE .jr_001_47ab: ld a, [$d094] cp $01 @@ -1499,7 +1499,7 @@ Call_000_4a1c: ld a, $02 call Call_3168 ld a, $0e - call Call_000_1e96 + call PlaySE ret @@ -1883,7 +1883,7 @@ Call_001_4c87: set 5, a ld [$d1a0], a ld a, $15 - call Call_000_1e96 + call PlaySE ld de, $4162 ld hl, $41dc ld bc, $0000 @@ -1916,7 +1916,7 @@ Call_001_4ced: srl a ld [$d086], a ld a, $15 - call Call_000_1e96 + call PlaySE ld a, $5a ld [$d3f5], a ld a, [$d1a0] @@ -2016,7 +2016,7 @@ Call_001_4d3f: cp $ff ret z ld [$d03c], a - call Call_000_1eb4 + call PlaySong ld a, $ff ld [$d03d], a ret diff --git a/bank_002.asm b/bank_002.asm index 460b769..927ec4a 100755 --- a/bank_002.asm +++ b/bank_002.asm @@ -3,7 +3,10 @@ SECTION "ROM Bank $002", ROMX[$4000], BANK[$2] KirbySpriteGfx: INCBIN "gfx/kirby_sprites.2bpp.lz" -INCBIN "baserom.gb", $8855, $b906 - $8855 +INCBIN "baserom.gb", $8855, $b7e9 - $8855 + +FontGfx: + INCBIN "gfx/font.2bpp.lz" ; free space padding INCBIN "baserom.gb", $b906, $c000 - $b906 diff --git a/bank_003.asm b/bank_003.asm index 5a89f0e..a50f1be 100755 --- a/bank_003.asm +++ b/bank_003.asm @@ -1,14454 +1,8 @@ SECTION "ROM Bank $003", ROMX[$4000], BANK[$3] - inc hl - nop - ld bc, $b0aa - dec l - nop - dec hl - cp $22 - nop - ld [bc], a - xor e - xor l - or c - sbc h - nop - ld b, $02 - xor h - xor [hl] - or d - daa - nop - ld bc, $6b5b - sub d - nop - db $10 - dec c - db $20, $af - or e - ld d, b - ld h, b - ld [hl], b - inc c - inc e - inc l - inc a - ld c, h - ld e, h - ld l, h - ld a, h - adc a - nop - ld de, $0112 - ld de, $3121 - ld b, c - ld d, c - ld h, c - ld [hl], c - dec c - dec e - dec l - dec a - ld c, l - ld e, l - ld l, l - ld a, l - nop - nop - nop - call z, $1700 - rrca - ld [bc], a - ld [de], a - ld [hl+], a - ld [hl-], a - ld b, d - ld d, d - ld h, d - ld [hl], d - ld c, $1e - ld l, $3e - ld c, [hl] - ld e, [hl] - ld l, [hl] - ld a, [hl] - adc d - nop - sub c - nop - ld d, a - inc hl - nop - rrca - inc bc - inc de - inc hl - inc sp - ld b, e - ld d, e - ld h, e - ld [hl], e - rrca - rra - cpl - ccf - ld c, a - ld e, a - ld l, a - ld a, a - add a - nop - sub c - ld h, d - ld h, l - ld c, $00 - jr nz, jr_003_40d7 +TitlescreenTilemap: + INCBIN "gfx/titlescreen.tilemap" - ld l, [hl] - nop - nop - inc d - inc h - inc [hl] - ld b, h - ld d, h - ld h, h - ld [hl], h - db $10 - ld b, b - ld h, d - inc b - ld [bc], a - ld l, c - or [hl] - ld e, d - add a - nop - sub c - ld d, $e4 - ld a, c - ld a, [c] - ldh a, [$e0] - ld h, b - ld [hl], b - nop - nop - dec d - dec h - dec [hl] - ld b, l - ld d, l - ld h, l - ld [hl], l - add b - or l - ld l, d - ld a, d - dec hl - dec sp - ld c, e - ret +INCBIN "baserom.gb", $c1c7, $fed1 - $c1c7 - - nop - sbc e - add hl, de - ld [de], a - ld sp, $5176 - ld h, c - ld [hl], c - nop - nop - ld d, $26 - ld [hl], $46 - ld d, [hl] - ld h, [hl] - db $76 - add c - and h - add h - adc b - adc h - adc a - sub d - sub [hl] - and a - sbc l - xor b - add h - nop - inc e - add [hl] - nop - and d - ld [de], a - and c - rlca - rla - daa - scf - ld b, a - ld d, a - ld h, a - ld [hl], a - add d - and l - add l - -jr_003_40d7: - adc c - adc l - sub b - sub e - sub a - sbc d - sbc [hl] - add l - nop - sub e - add [hl] - nop - jp nz, $b412 - - ld [$2818], sp - jr c, @+$4a - - ld e, b - ld l, b - ld a, b - add e - and [hl] - add [hl] - adc d - adc [hl] - sub c - sub h - sbc b - sbc e - sbc a - add h - nop - sub e - add a - nop - pop hl - ld b, $00 - add hl, bc - add hl, de - add hl, hl - add hl, sp - ld c, c - ld e, c - inc hl - nop - rlca - add a - adc e - nop - xor c - sub l - sbc c - sbc h - and b - add l - nop - sub e - add h - ld bc, $0702 - nop - ld l, b - nop - ld a, [bc] - ld a, [de] - ld a, [hl+] - ld a, [hl-] - nop - sub c - nop - ld b, $04 - nop - nop - ld h, $36 - ld b, [hl] - inc hl - nop - inc bc - dec bc - dec de - nop - nop - sub h - ld bc, $02a5 - nop - scf - ld [hl], a - add hl, hl - nop - inc b - rst $30 - push af - or $f6 - ld a, [$018e] - call z, $0001 - ld a, b - ld [hl+], a - nop - inc de - rst $20 - ldh [$eb], a - nop - db $eb - ldh [$e1], a - xor $f0 - ldh [$f2], a - xor $f0 - db $f4 - ld sp, hl - add sp, -$13 - ld [c], a - ld hl, sp-$49 - add h - nop - inc e - ld b, c - ld a, l - ld a, [hl] - jr z, jr_003_4164 - -jr_003_4164: - rlca - db $ed - add sp, -$13 - ld a, [c] - db $e4 - db $ed - db $e3 - xor $8a - ld bc, $41ae - ld a, a - dec bc - ld [bc], a - ld a, [hl] - ld a, [hl] - nop - scf - cp $00 - nop - ld h, $10 - sbc b - ld [bc], a - ld b, b - ld h, $11 - sbc b - ld [bc], a - ld b, b - add [hl] - ld bc, $98e1 - ld [bc], a - ld b, b - add [hl] - ld [bc], a - nop - scf - cp $07 - db $eb - add sp, -$1e - db $e4 - db $ed - pop af - db $e4 - db $e3 - sbc [hl] - ld [bc], a - add b - nop - nop - db $e4 - cp a - cp $e4 - ld d, e - nop - sub c - ld [bc], a - adc h - add hl, bc - and $e0 - db $ec - db $e4 - nop - pop af - ld a, [c] - ldh [$f0], a - ld a, [c] - push de - inc b - inc hl - add hl, bc - pop af - xor $f3 - db $ed - db $e3 - nop - ld a, [c] - db $e4 - pop af - ld a, [c] - ld hl, sp+$23 - inc b - inc hl - dec hl - cp $ff - dec b - nop - nop - inc e - inc e - ld [hl+], a - ld [hl+], a - inc hl - ld h, e - nop - ld a, a - call nz, $0a00 - inc bc - nop - nop - ld a, [hl] - ld a, [hl] - inc hl - ld h, e - nop - -jr_003_41dd: - ld a, [hl] - ret z - - nop - jr @+$03 - - ld a, $3e - inc hl - ld h, e - nop - ld h, b - adc $00 - jr z, jr_003_41ec - -jr_003_41ec: - ld h, e - ret z - - nop - jr c, jr_003_41f2 - - ld a, a - -jr_003_41f2: - ld a, a - inc hl - ld h, b - nop - ld a, h - add $00 - ld c, b - adc l - nop - ld b, b - ld bc, $6060 - add l - nop - jr nz, jr_003_4207 - - ld h, b - ld h, b - ld l, a - -jr_003_4207: - ld l, a - add a - nop - ld a, [hl+] - ld bc, $6363 - adc c - nop - ld b, $83 - nop - ld c, $01 - inc a - inc a - add hl, hl - jr jr_003_41dd - - nop - add e - ld bc, $0f0f - dec h - ld b, $23 - ld h, [hl] - push bc - nop - add e - inc b - ld h, a - ld h, a - ld l, h - ld l, h - ld a, b - ret z - - nop - xor b - dec hl - ld h, b - add e - nop - ld c, [hl] - rlca - ld h, e - ld h, e - ld [hl], a - ld [hl], a - ld a, a - ld a, a - ld l, e - ld l, e - add a - nop - ld a, d - add hl, bc - ld h, e - ld h, e - ld [hl], e - ld [hl], e - ld a, e - ld a, e - ld l, a - ld l, a - ld h, a - ld h, a - rlc b - ld [hl], l - ld bc, $6363 - adc a - nop - ld a, [hl+] - ld bc, $7e7e - adc c - nop - ld e, h - push bc - nop - ld l, l - inc bc - ld h, [hl] - ld h, [hl] - dec sp - dec sp - adc c - nop - db $10 - inc bc - ld l, h - ld l, h - ld h, [hl] - ld h, [hl] - add a - nop - sbc $05 - ld h, b - ld h, b - ld a, $3e - inc bc - inc bc - add a - nop - inc l - dec hl - jr jr_003_427d - - nop - nop - ld h, e - -jr_003_427d: - ld h, e - pop de - nop - db $ed - inc hl - ld h, e - dec b - ld [hl], $36 - inc e - inc e - ld [$8508], sp - nop - ld [hl], b - -jr_003_428d: - dec h - ld l, e - inc bc - ld a, a - ld a, a - ld [hl], $36 - add l - nop - ret nz - - ld [bc], a - ld a, $3e - inc e - ret z - - ld bc, $2578 - ld h, [hl] - add a - nop - add d - add e - nop - ld b, b - add hl, bc - rlca - rlca - ld c, $0e - inc e - inc e - jr c, jr_003_42e7 - - ld [hl], b - ld [hl], b - add l - nop - ld b, d - inc bc - jr nz, jr_003_42d7 - - ld b, b - ld b, b - inc sp - nop - ld bc, $6060 - call $bd01 - add e - ld bc, $e4a4 - cpl - nop - rst $38 - inc sp - jr c, jr_003_42f0 - - ld a, h - push bc - nop - add hl, de - adc c - nop - nop - rst $08 - nop - add hl, hl - push bc - nop - -jr_003_42d7: - add hl, sp - ldh a, [$3f] - nop - nop - dec h - jr c, jr_003_42e2 - - ld [hl-], a - ld [hl], $36 - -jr_003_42e2: - inc sp - sbc e - nop - ld a, [bc] - inc bc - -jr_003_42e7: - inc [hl] - scf - scf - dec [hl] - add a - nop - add d - adc l - nop - -jr_003_42f0: - ld [de], a - adc e - nop - adc b - dec b - ld [hl-], a - ld [hl], $7f - ld a, a - scf - dec [hl] - adc l - nop - ld [de], a - ld bc, $3537 - inc hl - jr c, jr_003_428d - - nop - and b - ld bc, $3838 - adc a - nop - or d - sbc l - nop - ld [bc], a - inc b - ld a, a - ld a, a - inc sp - ld [hl-], a - ld a, a - adc e - ld bc, $0201 - ld [hl-], a - ld [hl], $36 - adc l - ld bc, $2214 - ld a, a - nop - dec [hl] - adc d - nop - add h - ld [bc], a - inc [hl] - scf - ld a, a - adc a - ld bc, $0034 - dec [hl] - adc c - nop - and e - inc bc - ld [hl-], a - ld [hl], $33 - ld [hl-], a - sub b - ld bc, $8a53 - nop - adc c - nop - inc [hl] - ret nc - - ld bc, $8d63 - ld bc, $0080 - ld [hl-], a - sub h - ld bc, $0490 - ld a, a - inc sp - ld [hl-], a - ld [hl], $33 - add h - nop - add h - nop - ld a, a - sub l - ld bc, $c3b0 - ld bc, $01d2 - ld [hl], $36 - ret c - - ld bc, $03e7 - -jr_003_4362: - ld a, a - ld a, a - ld d, d - ld d, h - ld [hl+], a - ld d, [hl] - ld bc, $5a58 - sbc b - ld bc, $01ee - ld d, e - ld d, l - ld [hl+], a - ld d, a - ld bc, $5b59 - sub c - ld bc, $ffee - inc sp - jr c, @+$27 - - ld a, h - push bc - nop - add hl, de - sbc a - nop - nop - dec b - jr c, @+$3a - - ld [hl-], a - ld [hl], $7f - inc sp - sbc e - nop - ld b, $05 - inc [hl] - scf - ld a, a - ld a, a - ld [hl], $33 - sbc e - nop - ld [$3403], sp - scf - scf - dec [hl] - ldh a, [$27] - nop - ld [$3203], sp - ld [hl], $36 - inc sp - sub h - nop - inc d - ld [bc], a - ld [hl-], a - ld [hl], $33 - add h - nop - ld b, b - ld [bc], a - ld a, a - scf - dec [hl] - sub h - nop - inc d - ld [bc], a - inc [hl] - scf - dec [hl] - add l - nop - add d - ld hl, sp+$41 - nop - ld b, c - dec hl - ld a, h - ld [bc], a - ld [hl], $36 - inc sp - adc d - nop - xor c - sub c - nop - ld c, $05 - ld a, a - ld a, a - dec [hl] - jr c, jr_003_440c - - jr c, jr_003_4362 - - nop - add b - nop - ld [hl-], a - adc l - ld bc, $0154 - ld [hl], $36 - adc [hl] - nop - ld b, l - nop - inc [hl] - adc l - ld bc, $0154 - ld a, a - ld a, a - adc h - nop - ld b, h - ld [bc], a - ld [hl-], a - ld [hl], $33 - sub b - ld bc, $8b94 - nop - ld h, l - nop - inc [hl] - call Call_003_6101 - ld bc, $3537 - add e - nop - ld h, d - adc d - nop - add [hl] - ld [bc], a - ld [hl-], a - ld a, a - ld a, a - sbc c - nop - -jr_003_440c: - inc d - inc bc - ld [hl-], a - ld [hl], $36 - ld a, a - sbc e - ld bc, $00f2 - inc [hl] - ld [hl+], a - scf - adc l - ld bc, $ffd2 - dec h - jr c, jr_003_4423 - - ld [hl-], a - ld [hl], $36 - -jr_003_4423: - inc sp - add hl, hl - jr c, jr_003_4452 - - ld a, h - dec h - jr c, jr_003_442e - - inc [hl] - scf - scf - -jr_003_442e: - dec [hl] - sub l - nop - ld a, [bc] - nop - inc sp - jr z, jr_003_446e - - sub l - nop - ld a, [bc] - ld [bc], a - ld a, a - ld [hl], $33 - sbc l - nop - ld b, e - ld bc, $7f7f - add h - nop - rlca - adc c - -jr_003_4447: - nop - -jr_003_4448: - nop - sub b - nop - ld [hl], d - ld [hl+], a - ld a, a - ld bc, $3833 - adc d - -jr_003_4452: - nop - jr nz, jr_003_4455 - -jr_003_4455: - ld [hl-], a - sub b - nop - sub h - adc e - nop - jr z, jr_003_445f - - jr c, @+$34 - -jr_003_445f: - ld a, a - adc a - nop - sub h - ld bc, $3835 - adc e - nop - rst $00 - nop - ld a, a - sub b - nop - db $d3 - -jr_003_446e: - nop - inc sp - adc e - nop - and $00 - ld a, a - sub c - nop - ld a, [c] - ld bc, $337f - add l - nop - dec b - inc b - ld [hl-], a - ld [hl], $36 - ld [hl], $7f - sub e - ld bc, $2411 - ld a, a - push bc - ld bc, $8949 - ld bc, $cf30 - ld bc, $f859 - dec [hl] - ld bc, $2969 - ld h, [hl] - db $dd - ld bc, $03a9 - adc $cd - call $87cf - ld bc, $9f4c - ld bc, $2bb4 - ld a, h - inc bc - call c, $dad2 - call nc, $0283 - nop - add a - ld [bc], a - nop - add e - ld [bc], a - nop - dec hl - ld a, h - inc bc - db $dd - db $d3 - db $db - push de - add e - ld [bc], a - jr nz, jr_003_4448 - - ld [bc], a - jr nz, jr_003_4447 - - ld [bc], a - jr nz, jr_003_44f2 - - ld a, h - rst $38 - inc sp - ld a, a - dec h - ld a, h - push bc - nop - add hl, de - sbc a - nop - nop - ld [bc], a - ld a, a - ld a, a - sbc b - dec l - sub a - nop - sbc c - adc a - nop - ld [de], a - nop - sub [hl] - ld h, $7f - -jr_003_44e2: - rst $10 - -jr_003_44e3: - nop - ld l, c - inc c - sub [hl] - ld a, a - ld a, a - ld a, [c] - xor $f4 - db $ed - db $e3 - ld a, a - di - db $e4 - ld a, [c] - -jr_003_44f2: - di - ld hl, sp+$32 - nop - add h - ldh a, [rNR43] - nop - ld h, d - add hl, bc - ld a, a - rst $00 - db $ec - db $f4 - ld a, [c] - add sp, -$1e - ld a, a - ld [hl], d - ld [hl], d - ldh a, [$37] - nop - xor a - add h - nop - add l - ld [bc], a - ld a, a - ld [hl], d - ld [hl], d - ldh a, [rRP] - nop - adc a - ld h, $7f - inc bc - add b - add h - adc b - adc h - sbc e - nop - sub c - inc bc - add c - add l - adc c - adc l - sub b - nop - ld [hl], c - nop - sbc d - add hl, hl - sub a - inc b - add d - add [hl] - adc d - adc [hl] - sbc e - sbc d - nop - ld [de], a - inc b - add e - add a - adc e - adc a - ld a, a - ld hl, sp+$41 - nop - ld b, c - dec hl - ld a, h - rst $38 - inc bc - xor h - and b - and e - and a - add e - nop - nop - add a - nop - nop - add e - nop - nop - add hl, hl - cp $05 - ld a, h - ld a, h - xor l - and c - and h - xor b - add e - nop - jr nz, jr_003_44e3 - - nop - jr nz, jr_003_44e2 - - nop - jr nz, jr_003_458d - - cp $03 - xor [hl] - or c - and l - xor c - add e - nop - ld b, b - add a - nop - ld b, b - add e - nop - ld b, b - add e - nop - ld a, $01 - ld a, a - xor c - add e - nop - ld d, [hl] - dec b - cp $fe - xor a - or d - or h - xor d - add e - nop - ld h, b - add a - nop - ld h, b - add e - nop - ld h, b - add e - nop - ld e, [hl] - -jr_003_458d: - ld bc, $aa7f - add e - nop - db $76 - dec de - cp $fe - or b - ld [c], a - xor $ed - push hl - add sp, -$1a - db $f4 - pop af - ldh [$f3], a - add sp, -$12 - db $ed - and [hl] - db $ec - xor $e3 - db $e4 - xor e - cp $fe - or b - and d - and [hl] - xor e - add e - nop - sub [hl] - ld bc, $fefe - sub d - nop - ld bc, $ac00 - adc c - nop - sbc [hl] - ld bc, $fefe - sub d - nop - ld hl, $ad00 - adc c - nop - cp [hl] - ld bc, $fefe - add e - nop - ld b, c - ld b, $c6 - push af - add sp, -$0d - ldh [$eb], a - jp $c225 - - - inc b - and l - xor c - xor [hl] - cp $fe - add a - nop - ld b, c - ld bc, $fefe - sub d - nop - ld h, c - ld [bc], a - xor a - rst $30 - cp $86 - nop - ld [hl], a - ld [bc], a - xor a - cp $fe - add e - nop - sub a - ld b, $c7 - ld [$f1e8], a - pop hl - ld hl, sp-$3d - add a - nop - -Jump_003_4600: - sub [hl] - -Jump_003_4601: - ld [bc], a - or b - cp $fe - adc c - ld bc, $922c - nop - and c - nop - and b - adc c - ld bc, $013e - cp $fe - add e - nop - ld [hl+], a - ld a, [bc] - rst $00 - ld a, [c] - xor $f4 - db $ed - db $e3 - xor l - di - db $e4 - ld a, [c] - di - add h - nop - ld hl, $f701 - cp $87 - nop - ld [hl+], a - ld bc, $fefe - sub c - nop - ld b, d - ld bc, $b1ae - dec hl - cp $92 - ld bc, $0001 - or d - dec hl - cp $83 - nop - sbc b - dec b - rst $00 - db $e4 - rst $30 - add sp, -$0d - xor e - adc b - ld bc, $002b - and d - dec hl - cp $92 - ld bc, $0041 - and e - rlc b - ccf - nop - xor b - sub d - nop - jr nz, jr_003_4687 - - cp $92 - ld bc, $0081 - and l - dec hl - cp $ff - inc sp - ld a, a - dec h - ld a, h - push bc - nop - add hl, de - adc c - nop - nop - rst $08 - nop - add hl, hl - push bc - nop - add hl, sp - adc c - nop - nop - rst $08 - nop - ld c, c - push bc - nop - ld e, c - ldh a, [$5f] - nop - nop - inc h - ld a, a - add hl, bc - and $e0 - -jr_003_4687: - db $ec - db $e4 - ld a, a - ld a, a - xor $f5 - db $e4 - pop af - ldh a, [$88] - nop - rrca - daa - ld a, a - add l - ld bc, $cf40 - ld bc, $c965 - ld bc, $8575 - ld bc, $cf40 - ld bc, $c985 - ld bc, $8595 - ld bc, $cf40 - ld bc, $c9a5 - ld bc, $f0b5 - ld a, a - ld bc, $ff40 - inc sp - ld a, a - dec hl - cp $9f - nop - nop - ldh a, [$3f] - nop - nop - ld h, $7f - rlca - ld [c], a - xor $ed - ld a, [c] - add sp, -$13 - di - db $e4 - ldh a, [$37] - nop - rrca - ld [bc], a - db $e4 - db $ed - db $e3 - ldh a, [$7c] - nop - ld a, [bc] - ldh a, [$7f] - nop - rlca - ldh a, [$78] - nop - rlca - rst $38 - inc hl - ld a, a - inc hl - ld a, [hl] - inc hl - ld a, l - inc hl - ld a, h - add hl, bc - ld a, a - ld a, a - ld a, [hl+] - ld a, a - add hl, hl - ld a, a - jr z, @+$81 - - dec h - inc h - inc hl - ld a, a - ld bc, $2726 - ld [hl+], a - ld a, a - inc b - dec hl - dec l - ld a, a - ld a, a - inc l - ld b, c - ld l, $7f - ld b, c - ld a, a - cpl - ld b, c - cpl - ld a, a - ld de, $122f - cpl - inc d - ld a, a - ld a, a - db $10 - ld [de], a - ld a, a - ld b, [hl] - db $10 - ld [de], a - jr c, jr_003_474f - - ld a, a - ld a, a - ld a, $3f - ld [hl+], a - ld a, a - ld c, $39 - dec sp - ld a, [hl-] - ld b, b - ld a, a - ld b, c - ld b, d - inc a - ld a, a - dec a - ld a, a - ld a, a - ld b, e - ld a, a - ld b, h - ld b, d - dec a - ld a, a - ld bc, $7f45 - ld b, d - ld a, a - ld b, h - ld bc, $467f - ld h, e - inc sp - ld b, c - dec [hl] - -jr_003_473e: - ld [hl], $01 - ld a, a - inc sp - ld b, d - ld a, a - dec [hl] - nop - inc [hl] - ld b, d - ld a, a - ld [hl], $01 - ld a, a - db $10 - ld h, d - ld [de], a - -jr_003_474f: - inc bc - ld de, $1311 - inc d - ld h, e - ld de, $1004 - ld de, $1413 - ld a, [hl] - ld b, c - ld a, [hl] - rla - nop - dec de - ld b, c - dec de - inc e - rrca - inc e - rla - ld a, [hl] - dec de - ld a, [hl] - ld a, [hl] - ld a, a - ld d, b - ld a, a - ld a, a - jr nz, jr_003_47c1 - - jr nz, jr_003_4793 - - ld d, c - ld d, c - ld b, d - ld hl, $2320 - jr nz, jr_003_473e - - nop - xor c - dec b - ld a, a - ld a, a - ld b, a - ld b, a - ld a, a - jr nc, jr_003_47a7 - - ld a, a - ld [$7f00], sp - inc b - ld [bc], a - ld a, a - rlca - ld a, a - inc b - rlca - add e - nop - cp [hl] - -jr_003_4793: - inc bc - nop - ld a, [hl] - inc b - ld a, [hl] - add e - nop - jp nz, Jump_003_7e08 - - ld [bc], a - ld a, [hl] - rlca - rlca - ld a, a - ld a, [hl] - ld a, [hl] - rlca - ld b, c - inc b - -jr_003_47a7: - ld a, a - ld [bc], a - ld a, a - dec b - ld [$00c3], sp - add hl, bc - inc de - dec b - ld [$7e05], sp - ld a, l - dec b - ld a, [hl] - ld [$7d08], sp - ld a, [hl] - ld a, [hl] - ld [$0805], sp - ld a, [bc] - ld a, l - -jr_003_47c1: - ld a, l - ld a, [bc] - dec b - ld [hl+], a - ld a, l - ld [$7d01], sp - dec b - inc bc - ld a, l - ld [$067d], sp - add hl, bc - ld [hl+], a - ld a, a - dec b - ld b, $7f - ld a, a - ld b, $7d - ld a, a - add h - ld bc, $0f08 - ld a, l - add hl, bc - add hl, bc - ld a, a - ld a, l - ld a, l - add hl, bc - ld b, $0b - ld b, $7f - ld a, a - add hl, bc - dec bc - ld a, a - ld a, a - ld [hl+], a - ld a, l - nop - add hl, bc - ld b, c - ld a, l - ld a, a - ld bc, $7d06 - add e - ld bc, $0927 - ld b, $7d - inc b - ld [$7d2f], sp - cpl - add hl, bc - cpl - ld a, a - ld b, c - ld a, a - ld a, l - nop - ld c, c - ld [hl+], a - ld a, a - inc bc - ld e, $1d - rra - rra - ld b, c - cpl - ld a, l - nop - inc a - add e - nop - ld e, l - inc b - ld b, e - ld a, a - ld b, [hl] - ld [hl+], a - inc hl - inc hl - ld a, a - dec c - nop - ld [bc], a - ld [$0305], sp - ld bc, $7d03 - ld a, [hl] - inc bc - ld a, l - ld bc, $7e01 - ld b, c - ld l, $2f - ld b, c - ld d, a - ld d, [hl] - dec c - ld h, b - ld a, a - ld h, c - ld h, d - ld a, h - ld a, h - ld h, e - ld h, h - ld a, a - ld a, a - ld h, l - ld h, [hl] - ld c, e - ld c, h - ld b, d - ld c, b - ld c, l - rlca - ld e, b - ld e, c - ld a, h - ld a, h - ld e, b - ld e, c - ld d, a - ld d, [hl] - ld b, c - ld c, [hl] - ld c, b - dec b - ld c, b - ld c, b - dec d - ld d, $4b - ld c, e - ld h, d - dec d - ld [bc], a - add hl, de - jr @+$1c - - add e - ld bc, $0b9a - ld c, b - ld c, a - ld c, a - ld d, l - ld c, b - ld c, b - ld c, a - ld c, a - ld c, e - ld c, h - ld c, b - ld c, c - inc hl - ld c, b - inc b - ld d, h - ld c, $0d - rrca - inc c - add e - ld bc, $1ab5 - ld d, d - dec c - ld d, d - ld d, e - ld c, $53 - rrca - ld c, a - ld c, a - dec c - ld d, d - ld c, b - ld c, a - ld c, a - rrca - ld e, d - ld e, d - ld e, e - ld e, e - ld e, h - ld e, d - ld e, l - ld e, e - ld e, d - ld e, [hl] - ld e, e - ld e, a - inc h - ld a, [hl] - ld bc, $0707 - ld b, c - ld a, a - ld l, $08 - ld a, a - ld sp, $2e32 - ld a, a - ld c, d - ld c, e - ld c, [hl] - ld c, b - add e - ld bc, $0380 - ld c, e - ld c, e - ld c, b - ld c, b - add e - nop - ret c - - ld b, c - ld c, b - ld c, l - ld b, c - ld l, $2f - ld b, c - dec [hl] - ld [hl], $03 - add b - sub b - add c - sub c - add e - ld [bc], a - inc b - add e - ld bc, $e5e4 - rst $28 - ld a, a - db $e4 - ld h, c - nop - ld bc, $0101 - inc a - ld [bc], a - ld [bc], a - inc b - dec b - ld bc, $23ff - ld a, a - inc hl - ld a, [hl] - inc hl - ld a, l - inc hl - ld a, h - inc bc - ld a, a - ld a, a - add e - ld a, a - inc hl - inc a - rrca - ld b, b - ld d, b - ld b, c - ld d, c - ld c, e - ld d, b - ld c, e - ld d, c - ld b, b - ld e, e - ld b, c - ld e, e - ld e, a - dec l - ld e, $2e - inc hl - ld h, b - ld [$7f7f], sp - ld c, c - ld e, c - ld e, a - ld e, l - ld a, a - ld a, a - ld e, a - ld [hl+], a - ld a, a - dec d - inc l - dec l - inc l - ld l, $2c - cpl - inc l - ld a, a - ld a, a - dec l - ld e, $2e - dec a - ld c, l - ld a, $4e - rra - cpl - ld a, a - ld a, a - ccf - ld c, a - jp $3800 - - - dec b - ld e, [hl] - ld a, a - dec c - ld c, $5e - rrca - ld b, c - inc l - ld a, a - ld [hl+], a - ld a, a - dec bc - ld b, h - ld a, a - ld b, l - ld a, [de] - ld a, [de] - ld a, a - ld a, a - ld a, [de] - ld a, [de] - ld a, a - ld b, l - ld b, l - ld b, c - ld a, a - ld d, e - inc c - ld a, [de] - ld d, e - ld b, l - ld d, e - ld a, a - ld d, e - jr c, jr_003_4999 - - ld a, a - ld h, b - ld h, b - ld a, [de] - ld a, [de] - ld b, c - dec h - dec [hl] - dec bc - ld a, a - ld d, [hl] - ld a, a - ld a, a - ld e, l - ld e, l - ld a, a - ld a, a - jr z, jr_003_4991 - - ld a, [de] - ld a, [de] - ld b, c - ld c, d - ld e, d - ld b, c - ld c, e - ld e, e - rla - inc h - inc [hl] - dec h - dec [hl] - dec c - ld c, $7f - rrca - ld a, a - add hl, sp - daa - ld a, [hl-] - jr z, @+$3a - - add hl, hl - ld a, a - ld a, [hl+] - ld a, a - dec hl - dec sp - jr z, jr_003_4986 - - dec hl - ld a, [hl-] - ld b, c - ld d, e - ld a, a - rlca - ld b, b - ld d, b - ld h, e - ld h, h - ld b, [hl] - ld b, [hl] - ld h, e - ld h, h - -jr_003_4986: - inc hl - ld a, a - rrca - ld a, h - ld a, h - ld h, l - ld h, [hl] - inc l - ld e, l - inc l - ld a, a - -jr_003_4991: - rra - cpl - add hl, hl - ld a, a - dec c - dec l - ld e, $2e - -jr_003_4999: - inc hl - ld b, [hl] - ld b, c - ld d, e - ld b, [hl] - rlca - ld d, $16 - ld b, [hl] - ld b, [hl] - inc b - inc b - ld d, e - ld b, [hl] - jp $d900 - - - ldh [rNR42], a - inc b - inc b - ld c, e - ld d, c - inc b - inc b - ld b, c - ld d, c - ld d, $16 - ld a, h - ld a, h - ld d, $16 - ld c, d - ld e, d - ld [$090a], sp - dec bc - ld a, [bc] - ld a, [bc] - dec bc - dec bc - ld a, [bc] - jr jr_003_49d2 - - add hl, de - ld c, h - ld [hl], $7f - ld a, a - inc b - inc b - add l - nop - or [hl] - ld [bc], a - -jr_003_49d2: - ld b, $17 - ld b, $c4 - ld bc, $2308 - ld a, a - adc e - nop - ldh a, [rNR22] - ld [hl+], a - ld [hl-], a - inc hl - inc sp - dec de - dec de - ld c, b - ld e, b - ld b, $17 - ld b, a - ld d, a - ld hl, $3121 - ld sp, $2021 - ld sp, $3031 - ld hl, $3131 - inc hl - ld h, $23 - dec de - ld bc, $0402 - ld b, c - inc d - inc a - inc bc - inc bc - dec b - inc b - ld [de], a - ld b, c - inc a - dec d - ld bc, $1305 - inc hl - ld b, $23 - ld b, [hl] - -jr_003_4a0f: - inc bc - inc a - inc a - ld h, e - ld h, h - ld b, c - ld b, $17 - ld b, c - rlca - ld b, $0b - ld [hl], $36 - ld b, $06 - ld [hl], $36 - ld b, a - ld d, a - ld b, $06 - ld b, a - ld d, a - ld [hl+], a - inc a - ld [bc], a - nop - inc a - ld bc, $3c23 - ld [bc], a - db $10 - inc a - ld de, $3c22 - nop - inc b - jp $8001 - - - ld [bc], a - inc a - dec b - dec b - ld b, c - inc d - inc a - ld b, c - inc a - dec d - ldh [$28], a - ld c, d - ld e, d - ld d, $16 - ld [hl], $5c - ld b, $17 - ld c, h - ld [hl], $07 - ld b, $1c - dec e - ld d, d - ld b, e - inc c - inc e - ld b, d - ld d, d - inc e - inc e - ld d, d - ld d, d - rlca - ld b, $49 - ld d, a - rlca - ld b, $7f - rlca - ld b, [hl] - ld b, [hl] - scf - ld b, [hl] - ld c, h - ld [hl], $7f - rlca - ld [hl], $83 - ld bc, $02b5 - ld e, h - rla - ld a, a - add e - ld bc, $8384 - ld bc, $8380 - nop - db $ec - cpl - ld a, a - inc bc - add b - sub b - add c - sub c - add e - ld bc, $11dc - jr z, jr_003_4a0f - - dec hl - ld a, [hl-] - ld a, a - add e - add e - ld a, a - ld a, a - add e - scf - scf - ld h, d - ld h, d - ld a, h - ld a, h - ld h, c - ld h, c - add e - ld bc, $23f0 - ld d, h - ld bc, $5555 - push hl - rst $38 - ld a, a - db $e4 - inc [hl] - nop - dec hl - ld bc, $28e4 - ld [bc], a - dec h - inc bc - ld [bc], a - ld [$0207], sp - inc hl - nop - ld h, d - inc b - dec b - ld b, $06 - nop - rlca - nop - ld [$002f], sp - rst $38 - inc hl - ld a, a - inc hl - ld a, [hl] - inc hl - ld a, l - inc hl - ld a, h - inc e - nop - inc bc - inc bc - nop - ld [bc], a - ld bc, $0201 - nop - ld [bc], a - ld bc, $0403 - rlca - rlca - inc b - ld b, $05 - dec b - ld b, $04 - ld b, $05 - rlca - nop - ld b, $01 - inc bc - inc b - add e - nop - add hl, hl - inc de - ld [bc], a - dec b - inc bc - nop - ld [bc], a - dec b - inc bc - inc b - ld b, $05 - inc bc - inc b - ld [bc], a - ld bc, $0603 - dec b - ld a, h - ld b, $7c - add e - nop - ld b, c - ld b, $05 - dec b - ld b, $7c - ld a, h - dec b - ld b, $c3 - nop - ld b, e - rla - add hl, hl - dec hl - dec hl - add hl, hl - ld a, [hl+] - inc l - inc l - ld a, [hl+] - dec l - dec hl - dec l - add hl, hl - add hl, hl - cpl - dec hl - cpl - add hl, hl - dec hl - dec hl - ld a, [hl+] - add hl, hl - dec hl - inc l - add hl, hl - add e - nop - ld l, b - nop - ld a, [hl+] - call nz, Call_003_6a00 - dec c - inc l - add hl, hl - ld [$0908], sp - add hl, bc - ld a, [bc] - ld a, [bc] - dec bc - dec bc - ld [hl], $36 - scf - scf - ld b, c - inc e - dec e - ld b, c - ld e, $1f - ld b, c - ld a, [hl-] - dec sp - rla - jr c, jr_003_4b83 - - add hl, sp - add hl, sp - ld a, a - ld a, a - ld h, d - ld h, d - jr jr_003_4b67 - - ld d, $7f - dec d - add hl, de - ld a, a - rla - ld c, h - ld c, h - ld c, l - ld c, l - ld a, a - ld a, a - ld sp, $2235 - ld a, a - ld [bc], a - ld sp, $7f7f - -jr_003_4b67: - add e - nop - and a - rlca - inc [hl] - dec [hl] - inc sp - ld a, a - ld a, [hl] - inc [hl] - ccf - ccf - inc hl - ld a, a - ld bc, $2222 - dec h - inc hl - add e - nop - ld a, h - ld bc, $7f7f - ld h, e - inc h - ld [bc], a - -jr_003_4b83: - ld a, a - ld a, a - jr z, jr_003_4ba9 - - ld a, a - adc c - nop - call z, Call_003_7c0b - ld a, h - ld h, e - ld h, h - ld a, a - ld a, a - ld h, l - ld h, [hl] - ld de, $107f - ld a, a - jp $eb00 - - - ld bc, $1213 - inc hl - ld a, a - ld b, $12 - inc de - ld a, a - ld a, a - inc c - ld a, a - dec c - dec h - -jr_003_4ba9: - ld a, a - ld [bc], a - ld c, $7f - rrca - add e - nop - ld hl, sp+$02 - db $10 - ld a, a - ld de, $0083 - ei - nop - ld c, $c4 - ld bc, $000d - rrca - inc hl - ld a, a - add hl, bc - ld l, $2c - ld l, $29 - add hl, hl - dec hl - ld h, l - ld h, [hl] - ld a, a - ld a, a - add e - nop - add b - inc hl - ld a, a - ld b, $21 - jr nz, jr_003_4c54 - - ld a, $7f - ld a, a - ld a, $c3 - ld bc, $2233 - ld a, a - ld b, c - ld a, [de] - dec de - ld [hl+], a - ld b, $03 - ld a, a - ld b, $06 - ld a, a - push bc - ld bc, $ca46 - ld bc, $414a - ld b, $7f - ld b, c - ld a, a - ld b, $00 - ld [hl-], a - inc hl - ld a, [hl] - nop - dec [hl] - jp $0500 - - - ld b, c - ld [hl-], a - -Call_003_4bff: - inc [hl] - inc b - ld a, [hl] - ld a, [hl] - ld l, $2c - dec l - call nz, Call_003_5f00 - jp $a900 - - - ld b, c - nop - inc bc - inc b - ld a, h - ld h, [hl] - ld a, h - ld a, h - ld h, l - ld [hl+], a - ld a, h - ld b, c - ld a, [de] - ld a, h - ld b, c - ld a, h - dec de - inc bc - ld [hl], $36 - ld h, l - ld h, [hl] - add a - ld bc, $0930 - inc b - rlca - ld h, l - ld h, [hl] - nop - ld [bc], a - ld h, l - ld h, [hl] - inc b - ld b, $83 - ld bc, $3122 - ld a, a - ld de, $3d3c - nop - inc bc - dec l - ld b, h - dec l - dec hl - ld b, l - ld b, h - dec hl - dec hl - inc a - dec a - ld a, h - ld a, h - inc a - dec a - add e - ld bc, $15ba - ld bc, $3c03 - dec a - dec b - inc bc - inc a - dec a - -jr_003_4c54: - inc e - dec e - inc a - dec a - scf - scf - inc a - dec a - ld c, l - ld c, l - add b - sub b - add c - sub c - inc hl - ld a, [hl+] - inc sp - ld a, a - ld de, $5c5a - ld e, e - ld e, l - ld e, d - ld e, [hl] - ld e, e - ld e, a - ld e, [hl] - ld e, h - ld e, a - ld e, l - ld e, h - ld e, d - ld e, l - ld e, e - ld e, d - ld e, h - ld b, c - ld h, b - ld h, c - ld b, c - ld e, e - ld e, l - ld de, $5c5a - ld e, d - ld e, [hl] - ld h, b - ld a, a - ld e, [hl] - ld e, h - ld a, a - ld h, c - ld h, b - ld a, a - ld e, e - ld e, a - ld a, a - ld h, c - ld e, a - ld e, l - ld b, c - ld h, b - ld a, a - ld b, c - ld a, a - ld h, c - rlca - ld c, c - ld c, b - inc bc - nop - ld b, b - ld b, d - ld b, c - ld b, e - ld h, d - ld c, [hl] - ld b, d - ld d, d - ld d, b - ld [bc], a - ld d, d - ld b, [hl] - ld b, a - ld b, c - ld d, c - ld d, e - add hl, de - ld d, h - ld d, h - ld d, a - ld d, a - ld d, l - ld d, h - ld e, b - ld d, a - ld d, h - ld d, [hl] - ld d, a - ld e, c - ld c, d - ld c, d - ld c, e - ld c, e - ld d, h - ld d, h - nop - inc bc - ld d, l - ld d, h - nop - inc bc - ld d, h - ld d, [hl] - add e - nop - db $10 - inc b - inc b - rlca - ld e, [hl] - ld e, [hl] - ld e, a - ld h, d - ld e, a - dec b - ld h, b - ld h, c - ld a, h - ld a, h - ld d, b - ld d, d - add e - ld [bc], a - inc [hl] - inc hl - ld a, a - nop - ld e, [hl] - call nz, $8002 - nop - ld e, a - call nz, $8602 - push hl - ld [hl], e - ld a, a - db $e4 - ld c, e - nop - ld [hl+], a - ld b, $3f - nop - add hl, hl - ld bc, $0400 - dec h - nop - db $e4 - ld [hl+], a - ld [bc], a - nop - nop - rst $38 - inc hl - -Jump_003_4d00: - ld a, a - inc hl - ld a, [hl] - inc hl - ld a, l - inc hl - ld a, h - inc hl - ld c, b - inc h - inc l - ld [bc], a - ld b, a - inc l - ld b, a - ld b, c - ld b, a - inc l - ld b, c - ld [hl], $37 - ld b, c - inc h - dec h - dec bc - jr nc, jr_003_4d4b - - ld sp, $3231 - jr nc, jr_003_4d53 - - ld sp, $3232 - inc sp - inc sp - ld h, e - jr c, @+$14 - - jr c, jr_003_4d63 - - inc h - scf - ld d, h - ld d, h - ld d, l - ld d, l - ld a, a - ld l, $7f - cpl - ld a, [hl] - ld l, $7e - cpl - ld a, h - ld l, $7c - ld b, c - cpl - ld a, a - ld b, c - cpl - ld a, [hl] - ld b, d - cpl - ld a, h - ld bc, $602f - ld b, d - cpl - ld a, a - dec bc - -jr_003_4d4b: - ld b, [hl] - ld a, a - ld a, a - ld a, h - ld c, d - ld a, h - ld a, h - ld c, d - -jr_003_4d53: - ld a, h - ld a, h - ld c, d - ld c, e - ld [hl+], a - ld a, h - rrca - ld c, d - ld a, h - ld a, h - ld c, e - ld c, h - ld c, [hl] - ld c, l - ld c, a - ld h, [hl] - -jr_003_4d63: - ld d, a - ld e, d - ld e, c - ld b, h - ld b, h - ld b, l - ld b, l - ld h, e - ld b, b - rlca - ld b, b - ld b, h - ld b, d - ld b, l - ld b, h - ld b, c - ld b, l - ld b, e - ld b, c - dec l - inc l - ld [hl+], a - dec l - ld [hl+], a - inc l - ld b, c - dec l - inc l - ld a, [bc] - inc l - inc l - ld [hl], $2a - ld h, $7f - ld h, $2b - daa - ld a, a - ld a, [hl+] - inc hl - ld a, a - inc bc - ld h, $7f - daa - jr z, jr_003_4db5 - - ld a, a - dec bc - dec hl - scf - ld a, a - jr z, jr_003_4dc4 - - jr z, @+$81 - - add hl, hl - ld a, a - dec hl - ld a, a - ld a, a - add e - nop - or l - ldh [rNR42], a - ld a, l - ld a, l - inc [hl] - dec [hl] - ld d, h - ld d, b - ld d, l - ld d, c - ld d, d - ld d, h - ld d, e - ld d, l - ld a, a - ld a, a - ld h, d - -jr_003_4db5: - ld h, d - nop - ld a, a - ld h, d - ld h, d - ld h, c - ld h, c - ld a, a - ld a, a - inc l - inc l - ld h, l - ld h, [hl] - ld a, h - ld a, h - -jr_003_4dc4: - ld d, [hl] - ld d, a - ld c, c - ld c, c - inc hl - ld c, b - ld bc, $4949 - add e - nop - inc a - add e - nop - sub c - rlca - ld a, h - ld a, h - ld h, b - ld h, b - ld a, h - ld l, $60 - cpl - add e - nop - sub a - inc bc - jr nc, jr_003_4e14 - - ld sp, $c333 - nop - xor d - inc bc - dec b - ld a, [hl] - inc e - jr jr_003_4e2c - - ld a, a - ld b, c - inc h - scf - ld b, c - ld [hl], $25 - ld b, c - inc h - ld a, a - ld b, c - ld a, a - inc h - ld b, c - ld a, a - dec h - ld b, c - dec h - ld a, a - inc bc - inc d - ld h, e - ld d, $64 - ld h, e - inc d - dec b - ld h, e - -Call_003_4e09: - dec d - ld h, h - rla - ld a, [hl] - ld a, [hl] - ld b, c - ld h, e - dec d - add e - nop - ld [bc], a - -jr_003_4e14: - ld b, c - inc d - ld h, e - inc bc - ld a, a - ld a, a - ld d, $64 - jp $0500 - - - ld bc, $6416 - add e - ld bc, $094a - ld a, a - ld a, a - ld h, h - rla - ld a, a - ld a, a - -jr_003_4e2c: - ld h, l - ld h, [hl] - ld h, h - ld h, h - inc hl - ld a, [hl] - ld bc, $6363 - add e - nop - ld [de], a - ld b, $2d - ld c, b - dec l - inc l - ld a, [hl] - ld bc, $8301 - nop - inc bc - ld a, [bc] - ld bc, $7e05 - ld a, a - dec b - ld a, [hl] - ld a, [hl] - dec b - ld a, [hl] - inc bc - ld a, a - ld b, c - ld a, [hl] - inc bc - inc bc - ld a, [hl] - ld a, [hl] - ld a, a - rlca - ld b, c - rlca - ld a, [hl] - inc hl - ld a, [hl] - dec bc - ld bc, $7e05 - ld bc, $037e - dec b - ld a, [hl] - rlca - ld a, [hl] - inc bc - rlca - add e - ld bc, $0985 - inc bc - rlca - ld a, [hl] - cpl - inc d - cpl - ld c, b - ld c, b - ld h, l - ld h, [hl] - inc h - ld a, a - nop - nop - call nz, $c101 - ld a, [bc] - nop - inc b - ld a, a - ld a, a - inc b - ld a, a - ld a, a - inc b - ld a, a - ld [bc], a - ld a, a - ld b, c - ld a, a - ld [bc], a - ld [hl+], a - ld a, a - nop - ld b, $41 - ld b, $7f - add [hl] - ld bc, $08c3 - nop - ld a, a - ld [bc], a - inc b - ld a, a - ld b, $7f - ld [bc], a - ld b, $83 - ld bc, $09c5 - ld [bc], a - ld b, $1a - ld a, a - ld d, [hl] - ld a, a - ld a, a - dec de - ld a, a - ld d, a - inc hl - ld a, a - nop - ld d, [hl] - push bc - ld bc, $22ff - ld a, a - nop - ld e, b - inc hl - ld a, a - ldh [rNR41], a - ld e, c - db $10 - ld [$7f0c], sp - add hl, bc - ld de, $0d7f - ld c, $7f - ld [de], a - ld a, [bc] - ld a, a - rrca - dec bc - inc de - add hl, bc - ld [$7f7f], sp - ld c, $7f - inc c - ld a, a - ld a, a - rrca - ld a, a - dec c - ld a, a - ld a, a - dec bc - ld a, [bc] - ld sp, $127f - inc e - jr jr_003_4f63 - - ld a, [hl] - dec e - jr jr_003_4f68 - - ld a, a - jr jr_003_4f0a - - ld a, [hl] - ld a, [hl] - jr @+$21 - - ld a, a - ld a, a - jr jr_003_4f0c - - ld a, [hl] - jp Jump_003_5402 - - - inc e - nop - jr jr_003_4f14 - - ld a, [hl] - ld bc, $1818 - inc b - ld a, a - jr jr_003_4f1c - - dec b - ld a, [hl] - jr jr_003_4f20 - - inc d - ld h, e - -jr_003_4f0a: - jr jr_003_4f24 - -jr_003_4f0c: - ld h, e - dec d - jr @+$1a - - ld a, a - dec de - jr jr_003_4f2c - -jr_003_4f14: - ld a, [de] - ld a, a - jp Jump_003_5302 - - - add hl, de - ld a, $3e - -jr_003_4f1c: - dec a - dec a - inc l - inc l - -jr_003_4f20: - ld a, [de] - ld a, a - jr nz, jr_003_4f3d - -jr_003_4f24: - ld a, [de] - ld a, a - ld hl, $7f19 - dec de - add hl, de - ld [hl+], a - -jr_003_4f2c: - ld a, a - dec de - add hl, de - inc hl - ld a, a - ld a, a - add hl, de - add hl, de - ld b, c - ld a, a - dec de - ld b, c - ld a, [de] - ld a, a - rlca - ld d, b - ld d, d - -jr_003_4f3d: - ld d, c - ld d, e - ld c, c - ld c, c - ld [hl], $37 - ld h, e - ld e, e - rlca - ld e, h - ld e, e - ld e, a - ld e, l - ld e, h - ld e, h - ld e, [hl] - ld e, a - add e - nop - call z, $3641 - scf - rlca - ld a, $3e - ccf - ccf - inc a - inc a - dec a - dec a - inc hl - ld a, a - rlca - ld [hl], $37 - ld c, c - -jr_003_4f63: - ld c, c - add b - sub b - add c - sub c - -jr_003_4f68: - add e - ld [bc], a - ret z - - dec b - ld h, c - ld h, c - ld a, a - add e - add e - ld a, a - add e - ld [bc], a - jp nc, Jump_003_6201 - - ld h, d - add e - nop - ld [hl], $87 - nop - add h - add e - nop - ld a, h - add e - nop - inc a - add e - nop - jr c, jr_003_4f8f - - inc l - inc l - ld a, $3e - ld a, [hl-] - dec sp - dec sp - -jr_003_4f8f: - ld a, [hl-] - inc hl - ld a, a - add e - ld [bc], a - sbc h - add hl, bc - jr c, @+$3b - - ld b, b - ld b, c - ld a, [hl-] - dec sp - ld b, d - ld b, e - jr c, jr_003_4fd9 - - ld h, e - ld [hl], $01 - ld b, d - ld b, e - db $e4 - db $eb - ld a, a - db $e4 - ld a, h - nop - ld [bc], a - ld [bc], a - ld [bc], a - nop - inc hl - ld [bc], a - sbc d - inc b - ld h, l - add h - inc b - ld a, a - add hl, hl - ld [bc], a - inc bc - ld [$0207], sp - ld [bc], a - ld h, d - inc b - ld [bc], a - ld b, $06 - ld [bc], a - inc h - ld bc, $0003 - ld [bc], a - nop - rlca - add h - inc b - add b - rst $38 - nop - jp $ff23 - - - nop - inc a - ld b, c - rst $38 - nop - nop - -jr_003_4fd9: - db $db - ld b, c - inc h - rst $38 - ld b, c - rst $20 - rst $38 - nop - ld b, d - ld b, e - rst $38 - nop - ld [hl+], a - rst $38 - ld [hl-], a - nop - ld de, $0f0f - rla - jr jr_003_502e - - ccf - jr nz, jr_003_5031 - - ld b, c - ld a, [hl] - ld b, a - ld a, b - ld e, a - ld h, b - ld e, [hl] - ld h, c - ld e, b - ld h, a - adc c - nop - ld a, [hl-] - adc l - nop - ld a, [hl-] - ldh [$2b], a - ld e, [hl] - ld h, c - ld a, a - ld a, a - nop - nop - inc de - inc de - rlca - ld b, $1f - jr jr_003_5050 - - inc h - ccf - ld [hl+], a - ld a, a - ld b, d - ld a, a - ld c, b - ld a, a - ld b, b - ld a, a - ld c, a - ld a, $31 - cpl - ccf - ccf - jr nc, jr_003_5082 - - ld h, b - ld e, a - ld h, c - ld e, a - ld a, [hl] - ld b, $06 - rrca - add hl, bc - ld c, a - -jr_003_502d: - ld c, c - -jr_003_502e: - ld b, $06 - dec h - -jr_003_5031: - nop - rlca - jr nz, jr_003_5055 - - ld [hl], b - ld d, b - ccf - ccf - ld e, $11 - adc c - nop - db $76 - ld sp, $0100 - rra - rra - sub c - nop - sub h - ldh [rNR44], a - jr nc, jr_003_507a - - ld [hl], c - ld d, c - ldh a, [$90] - ldh [$a0], a - -jr_003_5050: - ld b, e - ld b, e - rrca - inc c - ld c, a - -jr_003_5055: - ld c, b - rra - db $10 - sbc a - sub b - rra - db $10 - rrca - ld [$0407], sp - inc bc - nop - ld b, b - ld b, b - rlca - rlca - rra - jr jr_003_50a8 - - jr nz, jr_003_50ea - - ld b, b - ld b, h - rst $38 - add b - dec bc - rst $38 - adc b - ld a, a - ld b, b - ld a, a - ld h, b - ccf - jr nc, @+$41 - - inc a - -jr_003_507a: - adc a - adc b - dec sp - nop - nop - ld bc, $0162 - -jr_003_5082: - dec c - ccf - ccf - ld a, a - ld c, h - ld [hl], a - ld a, a - or l - adc $a5 - sbc $85 - cp $95 - xor $85 - ld bc, $1326 - ld d, l - xor $f5 - adc $35 - xor $d5 - ld a, $df - ccf - sub a - ld a, b - rla - ld hl, sp+$5f - cp a - ret nc - - ccf - rst $10 - -jr_003_50a8: - jr c, jr_003_502d - - ld bc, $073e - ld d, a - cp b - rst $10 - jr c, jr_003_5082 - - ccf - sub b - ld a, a - add l - ld bc, $0b4a - sub a - ld a, b - rra - rst $38 - ldh a, [$f0] - ccf - ccf - rst $38 - call z, $3ff7 - ld b, c - db $fd - ld c, $01 - db $fd - ld b, [hl] - ld b, d - db $fd - ld b, $e0 - daa - db $fd - add [hl] - db $fd - adc [hl] - db $fd - adc $35 - cp $35 - xor $ff - rst $38 - sub a - ld a, b - rra - rra - rrca - inc c - rrca - rrca - dec a - ld a, $3d - ld c, $7d - ld a, [hl] - -jr_003_50ea: - ld [hl], l - ld c, $f5 - cp $fd - ld l, $f5 - ld a, [hl] - or l - cp $fd - adc $35 - xor $8d - ld bc, $0a7a - dec c - ld c, $7d - ld a, [hl] - dec d - ld c, $f5 - cp $3d - ld l, $75 - adc h - ld bc, $2593 - nop - inc bc - jr jr_003_5127 - - inc c - inc c - add e - nop - add [hl] - dec b - ret nz - - ret nz - - ld hl, sp+$38 - ld a, [$a30a] - nop - and $11 - db $fc - nop - rst $38 - inc bc - ei - inc b - db $fd - ld [bc], a - -jr_003_5127: - nop - nop - pop af - pop af - db $fc - inc c - cp $02 - cp $02 - ld b, [hl] - rst $38 - ld bc, $fe41 - ld [bc], a - inc bc - db $fc - inc b - push af - ld a, [bc] - scf - nop - rlca - inc a - inc a - rst $38 - jp $c43b - - - dec b - ld a, [$0089] - nop - add hl, bc - rst $38 - nop - rst $38 - add c - rst $38 - jp $e7ff - - - rst $38 - ld h, [hl] - adc e - nop - inc d - add e - nop - ld a, [de] - ld [$ff00], sp - rst $38 - nop - db $db - inc a - cp l - ld e, d - ld a, [hl] - ld b, [hl] - db $db - rst $38 - ld bc, $24db - adc b - nop - ld e, $0f - inc bc - inc bc - dec b - ld b, $0b - inc c - rla - jr jr_003_51a7 - - jr nc, jr_003_51b9 - - jr nz, jr_003_51db - - ld h, b - ld a, a - ld b, b - ld b, d - cp a - ret nz - - inc bc - sbc e - db $fc - ld l, a - ldh a, [rSCY] - cp a - ret nz - - inc bc - di - db $fc - ld c, a - ld [hl], b - ld b, c - daa - jr c, jr_003_519a - - rla - jr jr_003_51a9 - - inc e - add hl, bc - ld c, $04 - -jr_003_519a: - rlca - ret - - - ld [bc], a - ld h, a - ld [bc], a - nop - nop - ld [$02c4], sp - and d - inc bc - ld b, b - -jr_003_51a7: - ld b, b - nop - -jr_003_51a9: - nop - adc e - ld [bc], a - sbc b - or [hl] - ld bc, $0107 - ret nz - - add b - ld [hl+], a - ret nz - - ld [bc], a - ld b, b - ldh [$60], a - -jr_003_51b9: - ld b, c - ld h, b - jr nz, jr_003_51c4 - - jr nz, jr_003_51bf - -jr_003_51bf: - ld hl, $0320 - nop - rlca - -jr_003_51c4: - nop - add e - nop - add a - ld b, $01 - add hl, de - dec de - ld b, $0e - ld [bc], a - ld b, $23 - ld [bc], a - ld bc, $0202 - sbc a - ld bc, $8300 - ld [bc], a - ld l, b - -jr_003_51db: - add e - ld [bc], a - ld l, d - add e - ld [bc], a - ld l, h - inc bc - ld l, $3f - scf - jr c, @+$44 - - ld a, a - ld h, b - rlca - ld [hl], e - ld a, h - ld c, h - ld a, a - ld b, e - ld a, a - ld c, c - db $76 - ld b, e - ld e, a - ld h, b - ld b, c - cpl - jr nc, @+$06 - - rla - jr c, jr_003_5213 - - jr jr_003_5209 - - add h - ld [bc], a - sub c - ld bc, $0302 - rst $10 - ld bc, $051d - ccf - -jr_003_5209: - ccf - rst $18 - ldh [$7f], a - add b - ld c, c - rst $38 - nop - ld b, c - rst $38 - -jr_003_5213: - inc b - add $03 - ld a, [hl] - inc b - ld [bc], a - rst $38 - inc bc - rst $38 - ld b, $44 - rst $38 - nop - inc b - ccf - ret nz - - add c - cp $71 - ld [hl+], a - ld a, a - ld bc, $2121 - add e - ld bc, $0dc4 - ld a, b - ld a, b - ld a, a - ld a, a - rst $38 - rst $38 - db $fc - db $fc - jr c, jr_003_5271 - - jr nc, @+$32 - - jr nc, jr_003_526d - - inc sp - nop - inc c - ld b, b - ldh [$60], a - ldh [rNR41], a - ld [hl], b - jr nc, jr_003_5278 - - db $10 - jr c, jr_003_5263 - - jr jr_003_5251 - - add a - ld [bc], a - or a - db $10 - -jr_003_5251: - ld h, b - nop - db $e4 - ld [$10c8], sp - jr @+$12 - - db $10 - jr nc, @+$7a - - ret nc - - ld hl, sp+$08 - inc c - ld b, $07 - add hl, sp - -jr_003_5263: - nop - add hl, bc - inc bc - inc bc - dec c - ld c, $37 - jr c, jr_003_52cb - - ld h, b - -jr_003_526d: - cp a - ret nz - - ld e, e - rst $38 - -jr_003_5271: - nop - dec bc - ld a, a - add b - ccf - ret nz - - adc a - -jr_003_5278: - ldh a, [rLCDC] - ld a, a - jr nc, jr_003_52bc - - inc c - rrca - rst $08 - inc b - rlca - dec b - inc c - inc c - ld c, $0e - ld b, $06 - dec [hl] - nop - daa - jr nz, jr_003_52b5 - - db $10 - daa - ld [$0433], sp - dec l - ld [$1025], sp - rrca - ld bc, $0700 - nop - rrca - nop - rra - nop - dec a - inc bc - dec sp - rlca - ld [hl], a - rrca - ld a, a - rrca - ld b, c - ld l, a - rra - ldh [$2b], a - cpl - rra - ccf - rrca - rla - rrca - dec bc - rlca - -jr_003_52b5: - inc b - inc bc - ld bc, $2a00 - ld a, $05 - -jr_003_52bc: - ld a, e - ld e, a - ld h, c - ccf - ld b, b - ld e, a - ld h, d - dec sp - ld h, h - rra - db $10 - ld b, a - ld e, b - inc de - inc a - -jr_003_52cb: - ld e, a - ld h, b - xor a - ret nc - - db $fd - add [hl] - ld a, a - add c - ld a, $41 - ld e, a - ld h, c - ld a, [hl+] - ld a, $23 - nop - ld bc, $7f7f - ldh a, [$27] - inc b - ld c, $44 - ei - inc c - rlca - rst $28 - db $10 - rst $38 - ld [$07fd], sp - rst $38 - ld b, $41 - rst $38 - inc b - ld bc, $18ef - add l - inc b - ld b, h - ld b, c - rst $38 - add b - ld b, c - add b - rst $38 - rlca - ret nz - - rst $38 - ld a, a - ld a, a - -Jump_003_5302: - ld b, b - ld b, c - ld h, b - ld h, c - ld b, c - jr nz, jr_003_532a - - ld bc, $0000 - and e - ld [bc], a - rst $18 - add hl, bc - ld [hl], b - add b - ret c - - ldh [$e8], a - ldh a, [$f4] - ld hl, sp-$04 - ld hl, sp+$42 - ld hl, sp-$04 - ld b, $f4 - ld hl, sp-$10 - ld hl, sp-$20 - ldh a, [$c0] - call nz, $6405 - rlca - nop - -jr_003_532a: - nop - jr z, jr_003_5345 - - jr c, jr_003_534b - - ld a, [hl] - ld a, $41 - ld a, $7e - nop - ld a, [hl] - sub b - nop - sbc a - dec b - ld b, b - ld b, b - ld hl, sp-$08 - ld a, h - ld h, h - ld b, c - ld a, [hl] - ld b, d - inc b - ccf - -jr_003_5345: - ld hl, $191f - rlca - sub b - inc bc - -jr_003_534b: - db $eb - ld b, d - rst $38 - nop - nop - ld a, $36 - rst $38 - rlca - ccf - rst $38 - ld e, $1e - ld hl, $5e3f - ld h, c - ld b, c - rst $18 - ldh [rNR13], a - ld [hl], a - ld a, h - ld c, a - ld [hl], b - rst $18 - ldh [$bf], a - ret nz - - ld a, a - ld b, b - cp a - call nz, $c1be - sbc a - ldh [$65], a - ld a, [hl] - inc a - ccf - add e - dec b - xor [hl] - dec d - ldh a, [$f0] - ld hl, sp-$78 - cp a - rst $00 - ld e, a - ld h, b - ld l, [hl] - ld [hl], c - pop af - sbc a - rst $38 - adc [hl] - cp a - ret nz - - ld e, a - ld h, b - ld hl, $3e3f - ccf - ld b, c - ld a, a - ld b, b - ld bc, $3f20 - jp $b300 - - - rrca - ld [hl], b - ld [hl], b - ld [hl], a - ld d, a - ld l, c - ld e, [hl] - rst $28 - sbc [hl] - db $fd - di - ccf - jr z, jr_003_53c4 - - inc d - dec de - ld d, $41 - dec e - inc de - add hl, bc - dec a - inc hl - ld a, e - ld b, [hl] - ld [hl], a - ld c, h - ld l, a - ld e, h - ld [hl], e - ld [hl], e - add e - ld [bc], a - ld h, h - add hl, de - inc b - rlca - dec b - rlca - ld [$300f], sp - ccf - ld b, d - ld a, a - -jr_003_53c4: - ld d, b - ld a, a - ld c, h - ld [hl], e - ld h, $39 - dec sp - inc a - db $fd - xor $fc - add a - cp [hl] - rst $08 - reti - - - jp hl - - - inc hl - ld a, b - add hl, de - ld c, [hl] - ld a, [hl] - ld e, a - ld [hl], c - ld a, a - ld d, l - ld a, a - ld d, c - ld a, [hl] - ld l, a - jr c, jr_003_5422 - - inc h - ccf - inc l - dec sp - ld e, $19 - rrca - ld [$0607], sp - rlca - rlca - ld [bc], a - ld [bc], a - adc e - ld bc, $8314 - nop - ld [c], a - ld bc, $393e - jp $9102 - - - rlca - ldh [rIE], a - -Call_003_5400: - add c - rst $38 - -Jump_003_5402: - adc a - rst $38 - -jr_003_5404: - sub b - ldh a, [$c5] - nop - sub c - ld de, $6e6e - ld d, e - ld a, a - ld [hl], $3f - inc d - rra - ld l, l - ld a, a - and l - rst $38 - ld a, [hl] - ld a, a - add hl, hl - ld a, $3b - inc a - ld b, d - rrca - ld [$06c5], sp - ld b, l - -jr_003_5422: - rrca - nop - nop - rlca - rrca - jr jr_003_5448 - - jr nz, jr_003_546a - - jr nz, jr_003_54ac - - ld b, d - ld a, l - ld b, e - db $fc - add c - cp $c9 - nop - pop af - push bc - nop - jp hl - - - sub c - dec b - xor [hl] - inc bc - jr c, jr_003_5477 - - ld b, h - ld a, h - ld b, e - add d - cp $01 - ld b, h - ld a, h - add e - -jr_003_5448: - inc bc - xor h - add hl, de - ld a, $2e - ld a, [hl] - ld h, d - and $be - ld hl, sp+$58 - db $f4 - sbc h - call nc, $fc3c - inc h - or h - ld l, h - ld [hl], h - call z, $88f8 - add sp, $18 - ret nc - - jr nc, jr_003_5404 - - ld h, b - and a - ld [bc], a - sub [hl] - inc c - ret nz - -jr_003_546a: - ret nz - - jr nc, @-$0e - - add sp, $18 - db $f4 - adc h - ld a, d - add $be - ld h, d - db $ed - ld b, e - -jr_003_5477: - inc sp - db $dd - ld b, $33 - cp [hl] - ld [hl], d - ld c, h - call z, $8080 - and l - ld b, $40 - inc de - db $10 - ldh a, [rNR23] - ld hl, sp+$44 - db $fc - ld [bc], a - cp $0a - cp $02 - cp $26 - cp $0c - db $fc - sub b - ldh a, [rNR10] - ldh a, [$a7] - ld [bc], a - sub h - ld a, [bc] - ld b, b - ld b, b - ret nz - - ret nz - - and b - ldh [$f0], a - ldh a, [$50] - ldh a, [rSVBK] - ld b, c - ldh a, [$30] - and h - -jr_003_54ac: - ld b, $b2 - add hl, bc - sub b - ld [hl], b - adc h - db $fc - ld b, d - ld a, [hl] - ld b, h - ld a, h - ld a, b - ld a, b - add e - inc bc - ld h, b - add hl, bc - ld sp, hl - rst $20 - ld a, l - rst $18 - ld a, a - db $e3 - cp [hl] - ld [$e23e], a - ld b, c - inc e - db $fc - dec b - db $76 - cp $d8 - ld hl, sp-$10 - ldh a, [$ab] - inc bc - db $fc - jp $d402 - - - inc bc - ldh a, [$f0] - ld a, b - adc b - ld b, c - db $fc - inc b - ld bc, $06fc - ld b, e - cp $02 - dec e - db $fc - add e - ld a, e - db $fd - inc bc - rlca - add b - add b - ld h, [hl] - and $18 - db $fc - sbc b - db $fc - ld [hl], h - db $fc - inc h - db $fc - sub d - ld a, [hl] - pop bc - ccf - ld h, c - sbc a - ld sp, $01cf - rst $38 - ld [bc], a - rst $38 - and h - inc b - ld c, [hl] - ld bc, $c0f8 - or b - inc bc - db $eb - inc b - ld a, [hl-] - ld a, [hl-] - ld b, h - ld a, h - adc d - adc d - ld b, $f5 - ld [bc], a - ldh [rP1], a - db $fc - sbc h - inc b - ld de, $0786 - ld e, $a6 - inc b - pop bc - nop - ld hl, sp+$41 - nop - db $fc - ld b, d - nop - cp $86 - nop - dec d - and e - nop - ld [c], a - add hl, bc - or $0e - rst $38 - rlca - ei - dec b - rst $38 - ld bc, $41ff - ld b, c - cp $42 - rla - ei - rlca - db $fd - add a - ld sp, hl - rrca - pop af - rra - and d - cp $e4 - db $fc - jr c, jr_003_5586 - - ldh [$80], a - ld hl, sp+$60 - cp $78 - ld a, a - ld a, $7f - ccf - ld b, c - ccf - rra - ld b, c - rra - rrca - ld b, c - ccf - rra - ld [$3f7f], sp - ld a, a - ld a, $fe - ld a, b - ld hl, sp+$60 - ldh [$b0], a - inc bc - ld c, e - rlca - jr jr_003_5589 - - ccf - daa - ld a, a - ld h, c - cp $82 - add e - -jr_003_5578: - dec b - xor b - ld bc, $2f3f - sub c - inc bc - or b - dec bc - ld bc, $3a03 - ccf - ld d, a - -jr_003_5586: - ld l, h - ld a, a - ld c, b - -jr_003_5589: - ccf - ret z - - rst $30 - adc b - ld b, c - rst $28 - sub b - ld b, d - rst $38 - add b - rla - cp a - ret nz - - ld a, a - ret nz - - ld e, a - ld h, b - ld a, a - ld h, b - cp a - ldh [$9f], a - ldh a, [$97] - ld hl, sp-$75 - db $fc - ld b, l - ld a, [hl] - ld [hl+], a - ccf - ld de, $0c1f - rrca - xor a - rlca - sbc $03 - ld a, [hl] - cp $bd - jp $0392 - - - ld l, b - ld b, c - ld b, h - rst $38 - nop - ld b, h - call z, $0809 - inc bc - db $10 - cp e - ld b, h - add c - ld [hl+], a - rst $38 - ld bc, $8101 - add l - ld bc, $0717 - rlca - rrca - dec sp - inc a - ld b, a - ld a, b - or a - ret z - - ld b, c - rst $38 - add b - ld a, [bc] - rst $18 - and b - sbc a - ldh [$5f], a - ldh a, [$73] - ld a, h - adc h - rst $38 - add e - ld [hl+], a - rst $38 - ld b, e - rst $38 - add b - ld b, c - cp a - ret nz - - ld b, c - ld a, a - ld b, b - inc bc - ld e, a - ld h, b - ccf - jr nz, jr_003_5578 - - inc bc - inc a - inc b - ld a, e - ld a, h - add [hl] - rst $38 - add e - sub b - nop - inc e - inc bc - ld a, [hl] - ld a, [hl] - rst $38 - add c - sbc c - ld [$47fe], sp - rst $38 - nop - nop - add c - sub d - nop - inc e - dec bc - rra - rra - dec a - ld h, $7f - ld c, b - cp a - ret nc - - rst $38 - and b - rst $18 - ldh [$c3], a - add hl, bc - ld c, h - ld bc, $80ff - ld b, e - rst $38 - add h - add e - ld [$83c6], sp - add hl, bc - ld c, [hl] - dec bc - cpl - ld [hl-], a - ccf - jr nc, jr_003_566d - - inc a - ld b, h - ld a, a - add d - rst $38 - add c - rst $38 - add l - ld [bc], a - inc a - ld b, e - rst $38 - ld b, b - adc e - inc b - ld a, $07 - rst $38 - nop - inc a - jp $ff81 - - - ld a, a - rst $38 - push bc - nop - ld [hl+], a - ld bc, $817e - adc a - ld [$17f8], sp - cp e - ld b, h - rst $38 - nop - cp e - rst $10 - ld a, l - ld a, l - inc a - inc a - ld a, [hl] - ld b, d - rst $38 - add c - rst $38 - jr z, @+$01 - - xor c - rst $38 - add e - db $fd - rst $00 - ld a, [hl] - ld a, [hl] - -jr_003_566d: - ccf - nop - -jr_003_566f: - rlca - add b - add b - ld h, b - ldh [$d0], a - jr nc, jr_003_566f - - ld [$02a6], sp - ld l, [hl] - ld b, d - inc bc - db $fd - ld b, c - inc bc - rst $38 - ld d, $01 - rst $38 - ld bc, $837d - db $db - ld h, a - cp $3f - -jr_003_568b: - db $f4 - ld c, $e4 - inc e - ret z - - inc a - jr jr_003_568b - - ld h, h - db $fc - jp nz, $befe - - cp $90 - inc bc - or $02 - rlca - dec c - ld c, $85 - ld [bc], a - ld l, h - call nz, Call_003_4e09 - xor b - ld [bc], a - sub a - inc bc - rlca - rrca - ld a, e - db $fc - adc b - nop - ld [$9043], a - rst $38 - ld [bc], a - sub c - ei - sbc l - ld b, h - rst $38 - sub l - inc bc - rst $38 - sub h - rst $38 - sbc b - ld b, c - rst $38 - add c - ld b, c - rst $38 - add b - rlca - db $fc - add e - add a - rst $38 - ld a, a - rst $38 - jr c, jr_003_574b - - add a - ld [$03aa], sp - ld a, $7f - rst $18 - ldh [rBGP], a - rst $38 - nop - inc bc - cp a - ld b, b - rst $28 - ld e, h - ld b, c - rst $38 - ld d, h - ld a, [bc] - cp $55 - rst $38 - ld e, l - ld a, a - ret nc - - cp a - call nc, $98ff - rst $38 - add [hl] - inc bc - ld h, a - rlca - pop hl - rra - ccf - rst $38 - cp $ff - add $e5 - ld b, c - ld b, $05 - dec b - nop - nop - rrca - rra - rst $30 - ld hl, sp-$52 - inc bc - ld [hl], h - ld b, c - jr nz, @+$01 - - nop - ld [hl+], a - and l - ld a, [bc] - db $fc - rlca - cp $2b - rst $38 - xor e - rst $38 - xor c - rst $38 - ld sp, $09a7 - add sp, $02 - ld hl, sp+$07 - rrca - ld [hl+], a - rst $38 - ld bc, $f8f0 - daa - add b - inc bc - ld a, [hl] - rst $38 - cp e - rst $00 - ld c, b - rst $38 - inc bc - ld bc, $bb5f - ld b, d - rst $38 - xor e - rlca - rst $38 - cp e - rst $38 - and e - ld a, a - xor e - rst $38 - inc sp - ld b, d - rst $38 - inc bc - add hl, bc - ei - rlca - jp Jump_003_7e3f - - - rst $38 - db $fc - cp $80 - ret nz - -jr_003_574b: - adc b - dec b - or [hl] - sub b - dec bc - rrca - ld bc, $0705 - adc l - ld [$8bb2], sp - ld bc, $0012 - ld bc, $02a5 - ret nc - - ldh [rNR50], a - inc b - rrca - inc c - rla - ld e, $21 - ccf - ld [hl+], a - dec a - jr c, jr_003_57ab - - ld a, l - ld l, [hl] - ld a, a - ld b, d - ld a, a - ld b, c - rst $38 - add d - rst $38 - add h - rst $38 - and h - rst $38 - adc b - rst $38 - sub b - rst $38 - call nc, $707f - rra - add hl, de - rrca - rrca - rlca - rlca - adc l - inc bc - ld c, d - ldh [$35], a - ld h, b - ld h, b - ldh a, [$f0] - call c, $f6bc - ld l, $fb - rrca - cp $09 - rst $38 - inc d - rst $38 - db $10 - rst $38 - ld hl, $62ff - rst $38 - jp nz, $e47f - - ld a, a - cp h - ccf - call z, $ee97 - db $e3 - rst $38 - -jr_003_57ab: - di - ld a, h - ld hl, sp+$3f - db $fc - ld l, a - rst $38 - ld b, a - db $fc - add h - db $fc - -jr_003_57b6: - adc h - ld hl, sp+$08 - ld hl, sp+$58 - ldh a, [rNR10] - ldh a, [$b0] - ldh [$e0], a - or e - ld [bc], a - ld a, [c] - ld bc, $c0c0 - jp $3b0c - - - inc bc - ret c - - jr c, jr_003_57b6 - - ld e, b - and e - -jr_003_57d0: - nop - ret c - - inc bc - ldh a, [$30] - ldh [rNR41], a - add h - rlca - and e - db $10 - ret nz - - ldh [$60], a - jr nc, jr_003_57d0 - - inc c - db $fc - jp nz, $21fe - - ccf - ld de, $091f - rrca - rlca - rlca - sub a - inc bc - ld c, d - inc b - add b - ret nz - -jr_003_57f2: - ld h, b - ldh [$d8], a - add l - ld a, [bc] - ld d, l - ld [bc], a - ld b, $fa - ld b, $a6 - add hl, bc - cp h - ld [bc], a - ld bc, $09f7 - ld b, c - rst $28 - ld de, $fd05 - inc de - ld a, [c] - ld e, $ee - ld e, $a5 - inc bc - ld a, [hl-] - rlca - sbc [hl] - ld a, [hl] - ld h, c - rst $38 - pop bc - rst $38 - ld a, a - rst $38 - db $d3 - nop - ld l, $09 - -jr_003_581d: - ld [hl-], a - call $00ff - jr nc, jr_003_57f2 - - rst $38 - nop - ld [hl+], a - db $dd - inc h - rst $38 - ld a, [bc] - add b - ld a, [c] - xor l - rst $38 - add b - ldh a, [$8f] - rst $38 - and b - db $e3 - sbc h - xor a - inc c - sbc $85 - nop - dec e - inc b - add b - nop - db $fc - sbc [hl] - cp $26 - rst $38 - dec b - cp $ff - rst $38 - cp $ff - cp $29 - rst $38 - add a - ld a, [bc] - and d - ld bc, $7f3f - dec [hl] - rst $38 - push bc - dec b - or e - dec bc - ret c - - ret c - - and b - jr nz, jr_003_581d - - add b - db $e3 - ret nz - - rst $30 - ldh [rIE], a - ldh a, [rSTAT] - rst $38 - ld hl, sp+$02 - cp $fd - db $fc - add [hl] - dec c - inc d - add e - dec c - ld h, $3b - rst $38 - inc hl - nop - ld [bc], a - ld hl, $1f00 - xor h - dec c - -jr_003_587b: - rlca - ld bc, $ff7f - or c - dec c - ld d, $00 - db $fd - sbc d - dec c - ld l, c - and e - dec c - ld b, d - inc bc - jr jr_003_58a5 - - rlca - ld b, $f4 - inc sp - dec c - ld c, h - rst $38 - ld b, c - rst $38 - nop - ld [hl+], a - rst $38 - jr z, jr_003_589b - -jr_003_589b: - ld b, d - rst $38 - nop - inc bc - rst $38 - ccf - ret nz - - ldh [$8c], a - nop - -jr_003_58a5: - ld a, [bc] - ld [$ff00], sp - inc bc - db $fc - ld e, $e0 - ldh a, [rP1] - add b - ld b, [hl] - rst $38 - nop - add hl, bc - rst $38 - inc bc - db $fc - ld c, $f0 - jr c, jr_003_587b - - ldh [rP1], a - add b - adc [hl] - nop - ld [$010c], sp - cp $07 - ld hl, sp+$0c - ldh a, [$38] - ret nz - - ld h, b - add b - ret nz - - nop - add b - dec hl - nop - add h - nop - ld d, h - ld [$fc03], sp - ld b, $f8 - inc c - ldh a, [rNR23] - ldh [$30], a - add e - nop - ld e, [hl] - inc b - ret nz - - add b - nop - add b - add b - adc l - nop - rlca - add hl, de - ld bc, $03fe - rst $38 - ld [bc], a - db $fc - ld b, $fe - inc b - ld hl, sp+$0c - db $fc - ld [$18f0], sp - ld hl, sp+$10 - ldh [$30], a - ldh a, [rNR41] - ldh [rNR41], a - ret nz - - ld h, b - ldh [rSTAT], a - ld b, b - ret nz - - inc bc - ld b, b - add b - ret nz - - ret nz - - ld h, $80 - nop - add b - adc h - nop - ld h, e - inc bc - nop - ld bc, $0301 - db $f4 - ld [hl], c - nop - db $10 - inc b - ld bc, $0001 - ld bc, $b000 - nop - add a - db $10 - ld a, a - ld b, b - ccf - ld h, b - ccf - jr nz, @+$21 - - jr nc, jr_003_594f - - db $10 - rrca - jr @+$11 - - ld [$0c07], sp - rlca - and h - nop - xor c - nop - inc bc - and a - nop - xor a - ld [hl-], a - ld bc, $0301 - ld bc, $0341 - ld [bc], a - ld a, [de] - rlca - ld [bc], a - inc bc - ld b, $07 - inc b - -jr_003_594f: - rrca - inc b - rlca - inc c - rra - ld [$180f], sp - ccf - db $10 - rra - jr nc, jr_003_59db - - jr nz, jr_003_599d - - ld h, b - rst $38 - ld b, b - ld a, a - ret nz - - rst $38 - call z, $3301 - ld de, $0001 - nop - ld bc, $0103 - dec b - inc bc - inc bc - ld b, $07 - inc c - rrca - jr jr_003_5996 - - jr nc, jr_003_59b8 - - ld h, b - add l - ld bc, $08a8 - inc bc - ld b, $0f - inc e - rra - jr nc, @+$81 - - ldh [rIE], a - ret nc - - ld bc, $0655 - inc bc - rlca - rrca - inc e - ccf - ld [hl], b - rst $38 - adc $00 - rst $38 - rlca - -jr_003_5996: - nop - nop - rlca - rrca - ccf - ld a, b - rst $38 - -jr_003_599d: - ret nz - - call $1600 - inc bc - inc bc - rlca - rst $38 - db $fc - adc $00 - inc d - push bc - nop - rlca - nop - nop - xor c - ld bc, $0182 - add b - ret nz - - ld b, d - ret nz - - ld b, b - and e - -jr_003_59b8: - ld bc, $1092 - ldh [rNR41], a - ldh [$30], a - ldh a, [rNR10] - ldh a, [rNR23] - ld hl, sp+$08 - ld hl, sp+$0c - db $fc - inc b - db $fc - ld b, $fe - or b - ld bc, $c6a7 - nop - jp nz, $01b0 - - cp a - -jr_003_59d5: - xor a - nop - ret nz - - add hl, bc - ret nz - - ld h, b - -jr_003_59db: - ld hl, sp+$30 - db $ec - jr jr_003_59d5 - - ld c, $fd - inc bc - db $f4 - ld h, $01 - jp c, $8000 - - db $f4 - inc hl - ld [bc], a - ld [bc], a - dec b - -jr_003_59ee: - ld h, b - ld h, b - jr jr_003_5a0a - - inc c - inc c - daa - inc b - jp $eb02 - - - ld bc, $e0e0 - dec hl - nop - inc bc - jr nc, @+$32 - - rrca - rrca - adc $02 - adc h - add e - nop - inc bc - ld b, c - -jr_003_5a0a: - ld bc, $0eff - nop - db $fd - nop - ld [$f000], a - nop - ret z - - nop - and d - nop - ret nc - - nop - ld b, b - nop - xor a - inc bc - jr nz, jr_003_59ee - - inc bc - ld l, $d0 - inc bc - ccf - nop - or [hl] - inc a - nop - nop - ld l, l - ld c, b - nop - rst $38 - ld b, d - ld bc, $14ff - nop - rst $38 - dec b - rst $38 - rlca - rst $38 - ld e, $ff - ccf - db $e3 - ld hl, $5fff - pop af - ld h, b - pop hl - ld b, b - adc $41 - ld sp, hl - ld b, b - add l - inc bc - and [hl] - add a - inc bc - and [hl] - ld [bc], a - ldh [$5f], a - rst $18 - ld b, l - ld a, a - rst $38 - inc b - ccf - rst $38 - rra - rst $38 - rrca - jp z, $9203 - - ldh [rNR43], a - ld de, $0ffe - cp $14 - db $fc - inc c - ld sp, hl - ld [hl], c - di - ld sp, $93f7 - rst $30 - sub a - rst $30 - ld [hl], d - or b - db $10 - ldh a, [$f0] - or c - db $10 - rst $30 - rst $38 - ld hl, sp-$08 - rst $08 - rst $00 - ei - db $fc - cp e - jp $95f7 - - - ld b, l - call $028d - call $8f8f - inc h - rst $38 - ld b, $fe - rst $38 - ei - db $fc - cp $ff - ei - push bc - inc b - db $10 - dec c - ld a, [$00ff] - rst $38 - inc c - ei - dec bc - pop af - ld de, $1fff - rst $28 - ld a, [c] - add e - add h - ld bc, $1b6f - ld [hl-], a - ld [hl+], a - dec sp - dec sp - ld a, [hl-] - ld a, [hl-] - dec sp - inc de - ld [bc], a - ld [bc], a - inc bc - inc bc - rlca - rlca - ld a, c - ld a, c - sbc a - add a - ei - ld a, l - or c - pop bc - add e - ld bc, $c9cd - pop hl - and c - ld a, [hl+] - or c - ld bc, $bfbf - inc h - rst $38 - inc bc - -jr_003_5acd: - rst $18 - rst $20 - cp d - ld b, l - add e - nop - ld d, h - add h - inc b - ld e, b - nop - ldh [$84], a - nop - nop - ld e, $e0 - ccf - db $10 - rst $18 - jr nc, jr_003_5b22 - - ld de, $3ede - scf - rra - db $dd - inc sp - ccf - ld de, $31df - ld a, a - ccf - -jr_003_5af0: - db $e3 - ld b, b - rst $38 - ld a, a - pop bc - pop bc - add c - ld bc, $001f - ld a, a - nop - add e - nop - ld h, c - nop - ccf - add a - inc b - adc l - add hl, bc - nop - rst $38 - nop - pop bc - nop - ld bc, $8000 - ld a, a - rst $38 - and [hl] - inc b - dec bc - dec b - rst $38 - rst $38 - ld a, a - cp a - rst $38 - rst $38 - add h - inc b - ld e, b - ld [bc], a - di - rst $38 - jr nz, jr_003_5acd - - inc bc - -jr_003_5b22: - add [hl] - ld b, $40 - rst $38 - jr nz, @+$01 - - ldh [rIE], a - jr nz, jr_003_5af0 - - inc b - adc $41 - ldh [rIE], a - ldh [rNR41], a - ld h, b - rst $38 - xor $77 - pop af - ld a, a - push af - rst $18 - ld a, a - rst $38 - ld e, c - ld l, a - db $dd - ld a, a - set 7, a - ld c, c - rst $38 - ld c, a - ld a, a - ret - - - ld a, a - call Call_003_4bff - rst $38 - ret - - - rst $38 - ld c, a - rst $38 - db $eb - rst $38 - ld sp, hl - inc l - rst $38 - ld [bc], a - cp $ff - db $f4 - and h - ld [bc], a - ld e, d - ld [hl-], a - nop - and h - ld [bc], a - ld l, e - and [hl] - ld [bc], a - dec sp - ld b, c - rlca - dec b - ldh [$27], a - inc bc - dec b - rrca - inc c - dec c - ld [$0809], sp - add hl, de - db $10 - ld sp, $3020 - inc hl - rst $38 - rst $38 - rst $00 - add c - add e - -jr_003_5b7d: - add b - add e - nop - rlca - nop - -jr_003_5b82: - rrca - nop - adc l - inc bc - or [hl] - rrca - push af - ld c, $af - ret c - - rst $08 - ld hl, sp+$59 - ldh a, [$78] - ldh a, [rSTAT] - jr nc, @-$1e - - ld b, $3f - ldh [rIE], a - rst $38 - jp $c381 - - - inc h - add c - ld c, $c1 - add c - and e - pop bc - ld h, l - jp Jump_003_63be - - - cp [hl] - ld [hl], a - ld e, l - ld a, $1d - ld a, $0a - ld b, c - inc e - ld a, [hl+] - ld [bc], a - inc e - ld [$a31c], a - dec b - ld b, b - rlca - ld b, c - add c - ld b, c - add b - ld h, b - add b - jr nc, jr_003_5b82 - - or e - dec b - ld c, h - cp a - dec b - jr nz, jr_003_5bc9 - -jr_003_5bc9: - ld d, l - ld [hl+], a - rst $38 - inc b - ld d, l - rst $38 - xor d - rst $38 - ld d, l - and h - dec b - jp $0002 - - - rst $38 - xor d - ld b, h - rst $38 - nop - nop - ld d, l - and e - dec b - ret c - - ld bc, $5500 - add e - dec b - sbc $04 - nop - nop - nop - xor d - nop - call nc, $2105 - dec c - nop - nop - ld [$1400], sp - nop - ld [hl+], a - jr @+$45 - - jr jr_003_5b7d - - inc a - add b - ld a, [hl] - and h - ld [bc], a - cp l - ld [de], a - nop - ld [bc], a - -Jump_003_5c05: - nop - inc b - ld bc, $0318 - jr nc, @+$11 - - ret nz - - rra - nop - rst $38 - ld h, $00 - ld b, b - add hl, de - add b - ccf - adc e - ld bc, $84f5 - ld b, $02 - ld bc, $4210 - add e - ld b, $09 - inc c - ld a, h - nop - ld a, [hl] - jr c, jr_003_5c28 - -jr_003_5c28: - inc b - ret nz - - ld [bc], a - ld hl, sp+$01 - db $fc - nop - cp $89 - -jr_003_5c31: - ld [bc], a - add hl, bc - and e - ld b, $12 - ld [$0030], sp - jr @-$3e - - rlca - ldh [rP1], a - ld hl, sp+$00 - pop de - dec b - ld [c], a - ld bc, $ff00 - -jr_003_5c46: - jp Jump_003_6706 - - - or d - dec b - add sp, $02 - add b - nop - ret nz - - xor a - ld b, $7f - add [hl] - ld bc, $0db3 - ld [bc], a - ld bc, $010a - db $10 - dec bc - ld d, $09 - ld [hl+], a - dec e - nop - ccf - ld [hl+], a - dec e - ld b, c - ld b, b - ccf - ld b, e - add b - ld a, a - and l - ld b, $a2 - ld b, c - jr nz, jr_003_5c31 - - dec b - nop - ldh [$28], a - ret nz - - inc [hl] - ret z - - ld b, d - ld [hl+], a - call c, $0144 - cp $89 - ld b, $84 - add hl, bc - ld b, b - add b - jr z, jr_003_5c46 - - ld [hl], a - adc b - inc hl - call c, $fe01 - xor [hl] - ld [bc], a - or e - add h - ld b, $13 - rlca - ld [$3003], sp - rrca - ld b, b - rra - rst $38 - nop - adc l - ld b, $20 - ld bc, $2a80 - sub b - inc bc - ld a, a - ld a, [hl+] - nop - rlca - ld [de], a - nop - db $ed - ld [de], a - ld bc, $01fe - cp $b0 - inc bc - add c - nop - ld a, a - adc a - rlca - ld h, $a5 - ld b, $c2 - rlca - ld [$fc07], sp - inc bc - ld [$10f7], sp - rst $28 - xor e - rlca - ld c, b - add e - rlca - ld b, b - adc e - rlca - inc h - ccf - nop - ccf - rst $38 - ld b, [hl] - nop - rst $38 - inc b - nop - rst $38 - rst $38 - nop - rst $38 - sbc h - rlca - add h - rst $38 - rra - nop - nop - inc bc - inc bc - dec c - ld c, $17 - jr @+$31 - - jr nc, @+$41 - - jr nz, jr_003_5d4a - - ld h, b - ld a, a - ld b, b - ld a, a - ld c, b - ld a, a - ld b, l - ld e, a - ldh [$df], a - ld [c], a - xor a - ld a, [c] - sub a - ld hl, sp-$76 - rst $38 - ld [hl], l - ld a, a - xor c - nop - nop - ld bc, $0cf4 - ld b, c - ld a, [$1106] - cp $c2 - ld a, [$f606] - ld c, $e9 - rra - pop de - ccf - and c - ld a, a - ld h, d - cp $bc - db $fc - nop - nop - xor a - nop - jr nz, jr_003_5d2b - - ld e, a - ld h, b - ld e, a - ld l, b - ld a, a - push hl - xor a - ldh a, [$97] - ld a, [$f89f] - ld l, l - -jr_003_5d2b: - ld a, a - and a - nop - ld b, b - ld bc, $38c8 - adc b - nop - jr z, jr_003_5d46 - - ld [bc], a - ld a, [$fdc6] - rrca - pop af - rra - pop de - ccf - ld [c], a - ld a, [hl] - cp h - db $fc - jr nz, @+$22 - - add e - -jr_003_5d46: - add e - adc b - nop - inc b - -jr_003_5d4a: - ld [de], a - ld h, l - ld [hl], l - ld c, a - ld a, a - ld b, l - ld a, a - ld b, b - ld a, a - rst $08 - rst $10 - ld hl, sp-$41 - xor $9f - ld a, [c] - sub a - ld a, [$7f6f] - xor l - nop - nop - dec d - ld a, $c2 - cp $02 - ld a, [$fe06] - add $e9 - ccf - pop af - rst $18 - pop hl - cp a - and d - cp $fc - db $fc - jr jr_003_5d8e - - inc a - inc h - ld b, c - ld a, [hl] - ld b, d - rlca - inc a - inc h - jr @+$1a - - nop - nop - ld b, $06 - ld b, c - rrca - add hl, bc - ld bc, $0606 - dec [hl] - nop - inc bc - inc c - -jr_003_5d8e: - inc e - ld l, $32 - ld b, c - ld a, $22 - add hl, bc - inc a - inc h - jr jr_003_5dc1 - - jr nz, jr_003_5dcb - - nop - jr nz, jr_003_5d9e - -jr_003_5d9e: - ld b, b - dec h - nop - ld b, $0f - rrca - add hl, de - db $10 - jr nz, jr_003_5dc8 - - ld h, b - ld [hl+], a - ld b, b - ld de, $88c8 - adc h - adc b - add a - add a - add h - add h - add [hl] - add d - rst $00 - add a - ld h, h - ld b, h - ld a, $24 - dec de - dec de - dec h - nop - inc bc - -jr_003_5dc1: - add b - add b - ldh a, [$f0] - ld b, d - sbc b - adc b - -jr_003_5dc8: - ld bc, $f0f8 - -jr_003_5dcb: - ld b, d - jr @+$0a - - ld a, [bc] - ld hl, sp-$10 - db $10 - ld [$1010], sp - ldh [$e0], a - rlca - rlca - inc c - ld [hl+], a - ld [$1105], sp - db $10 - ld h, c - ld h, c - pop bc - add c - inc hl - add b - ld bc, $8383 - inc hl - add h - rlca - add [hl] - add h - ld b, a - ld b, e - ld h, h - ld b, h - ld a, $34 - jp $0300 - - - dec h - add b - inc b - nop - nop - cp $fe - ld de, $0122 - inc bc - pop af - pop hl - ld e, $1e - inc hl - db $10 - ld bc, $e0f0 - inc hl - db $10 - ld bc, $e0e0 - inc hl - nop - ld [bc], a - ld [hl], b - ld [hl], b - ret c - - ld [hl+], a - adc b - inc bc - add a - add a - rst $00 - add b - inc hl - ld b, b - ld bc, $4060 - inc hl - jr nz, @-$1e - - dec h - jr nc, jr_003_5e47 - - jr jr_003_5e39 - - inc c - inc c - inc bc - inc bc - inc c - inc c - ld a, [de] - ld [de], a - ld sp, $6321 - ld b, c - add $82 - adc h - inc b - -jr_003_5e39: - jr c, jr_003_5e73 - - ld l, h - ld b, h - add h - add h - adc [hl] - add [hl] - adc e - adc c - pop de - sub c - ld h, d - ld h, d - -jr_003_5e47: - inc [hl] - inc h - jr c, jr_003_5e63 - - inc hl - ldh [rTIMA], a - jr c, @+$1a - - inc c - inc b - ld b, $02 - ld b, c - inc bc - ld bc, $0601 - ld [bc], a - ld b, c - inc c - inc b - inc bc - ld [$8c08], sp - inc b - and h - -jr_003_5e63: - ld bc, $03a6 - ld hl, $121a - inc c - ret z - - nop - db $ec - inc bc - jr c, @+$3a - - db $10 - ld l, h - ld b, d - -jr_003_5e73: - ld a, h - ld b, h - ld b, $10 - ld l, h - jr c, jr_003_5ea2 - - nop - jr c, @+$12 - - ld b, c - stop - nop - -jr_003_5e81: - db $10 - ld a, [hl+] - nop - add e - nop - ei - inc h - ld b, b - nop - nop - jp $0a01 - - - ld [$0810], sp - jr jr_003_5e97 - - inc c - ld b, $06 - inc bc - -jr_003_5e97: - rlca - dec h - nop - ld [bc], a - inc bc - inc bc - inc b - -jr_003_5e9e: - and e - ld [bc], a - inc de - nop - -jr_003_5ea2: - inc c - inc h - ld [$1842], sp - stop - db $10 - ld b, c - db $10 - jr nc, jr_003_5eaf - - db $10 - -jr_003_5eaf: - jr nc, jr_003_5e81 - - nop - db $e3 - inc bc - add hl, bc - db $10 - stop - and h - ld bc, $03c4 - ret nz - - ret nz - - add b - add b - push de - nop - jp hl - - - dec b - ld de, $2019 - jr nz, jr_003_5f09 - - ldh [$87], a - ld [bc], a - ld e, d - ld [bc], a - ld [$0000], sp - add e - ld [bc], a - jr nc, jr_003_5ed7 - - inc a - inc e - -jr_003_5ed7: - ld e, [hl] - inc hl - ld a, [hl] - ld [bc], a - cp l - ld a, [hl] - ld a, [hl] - ld [hl+], a - nop - nop - inc a - jr nc, jr_003_5ee4 - -jr_003_5ee4: - add l - ld [bc], a - add d - inc b - inc a - inc a - sbc c - ld a, [hl] - ld a, [hl] - add h - ld [bc], a - sub l - nop - jr jr_003_5e9e - - ld [bc], a - ld b, e - ld b, $00 - nop - jr nz, jr_003_5f12 - - inc a - ld e, $5c - ld h, $7e - inc b - -Call_003_5f00: - inc a - nop - inc e - nop - inc b - and [hl] - nop - db $fd - ld b, c - -jr_003_5f09: - nop - rst $38 - ld [bc], a - nop - ld a, a - add b - ld b, c - cp a - ret nz - -jr_003_5f12: - add hl, bc - ld e, a - -jr_003_5f14: - ldh [rVBK], a - ld [hl], b - inc hl - ld a, h - jr jr_003_5f5a - - rlca - rrca - dec hl - nop - dec b - rlca - rlca - dec de - inc e - ccf - jr nz, jr_003_5f68 - - ld a, a - ld b, b - ld bc, $c0bf - ld b, d - rst $38 - add b - ld bc, $c0bf - and e - nop - or b - rlca - ccf - jr nc, jr_003_5f88 - - ld a, a - add [hl] - rst $38 - ld a, l - ld a, l - adc d - nop - ld h, h - ld [bc], a - rlca - rst $38 - rrca - and e - inc bc - ld a, [bc] - inc de - -jr_003_5f49: - db $fd - inc bc - ld a, [$dc06] - inc a - jr c, jr_003_5f49 - - call nz, $02fc - cp $fc - db $fc - or b - or b - ret z - -jr_003_5f5a: - ld a, b - db $f4 - adc h - ld b, c - db $fc - inc b - dec b - db $f4 - inc c - ld hl, sp+$08 - db $fc - inc d - add l - -jr_003_5f68: - inc bc - ld b, [hl] - ld bc, $38d8 - add a - inc bc - jr c, jr_003_5f14 - - ld bc, $0b24 - ld b, $07 - dec bc - inc c - rla - jr jr_003_5f9a - - db $10 - ld l, a - ld [hl], b - xor a - ldh a, [rSTAT] - rst $38 - and b - ldh [$4c], a - ld a, a - ld h, b - cpl - -jr_003_5f88: - dec [hl] - ccf - dec [hl] - rla - jr jr_003_5f99 - - inc c - rlca - rlca - ld c, $0e - pop af - rst $38 - ld a, l - add e - db $fd - inc bc - -jr_003_5f99: - rst $38 - -jr_003_5f9a: - inc bc - and $1a - sbc $3e - sbc $36 - rst $18 - ld [hl-], a - call z, $ee38 - ld e, $f7 - add hl, de - rst $10 - add hl, sp - sbc $3e - ld h, b - ldh [$80], a - add b - ld [hl], e - ld [hl], e - rst $28 - sbc h - rst $38 - sub b - rst $28 - or h - ld e, a - ld l, c - ld a, a - ld c, d - rst $38 - ld [c], a - rst $38 - sub b - ei - adc h - cp e - add $bf - pop bc - ld e, a - ld h, b - scf - jr c, jr_003_601b - - ld a, a - add e - rst $38 - ld a, a - ld a, a - ldh [$a3], a - inc bc - ld h, l - ld d, $b8 - cp $ae - rst $30 - xor l - rst $38 - dec b - rst $38 - ld b, l - db $fd - rlca - cp $06 - db $fc - inc b - ld a, [$f20e] - ld e, $a2 - ld a, [hl] - db $e4 - db $fc - jp $e901 - - - ld a, [de] - dec a - ccf - db $eb - call c, $00ff - rst $38 - inc b - rst $38 - adc c - rst $38 - ld b, d - rst $28 - -jr_003_5ffe: - jr nc, @-$0f - -Jump_003_6000: - jr jr_003_6081 - - add h - cp a - jp nz, $615e - - cpl - jr nc, jr_003_6045 - - inc a - ld b, a - add h - inc bc - cp e - add e - nop - nop - dec bc - ld b, $07 - rlca - dec b - dec b - ld b, $03 - ld [bc], a - -jr_003_601b: - ld [bc], a - inc bc - ld bc, $af01 - ld [bc], a - ld e, h - inc bc - inc e - inc e - ld a, $32 - ld b, d - ccf - ld hl, $7f0b - ld h, c - -jr_003_602d: - cp $92 - rst $38 - adc a - cp $8f - ld a, h - ld a, h - jr @+$1a - - adc a - ld [bc], a - ld b, b - inc de - rrca - add hl, bc - dec e - inc de - ld a, [de] - rla - rla - dec e - ccf - add hl, sp - -jr_003_6045: - ld e, l - ld [hl], e - cp d - or $bc - call z, $bcdc - cp b - ld hl, sp-$4b - nop - call nc, $25e0 - jr jr_003_606e - - ccf - daa - ld a, a - ld h, c - cp $82 - ld a, [hl] - ld b, d - ccf - ld hl, $2f3f - jr nc, @+$32 - - inc bc - rrca - dec d - ld a, [de] - cpl - dec sp - ccf - jr nc, jr_003_60c8 - - ld h, h - -jr_003_606e: - ld sp, hl - adc a - rst $38 - adc a - rst $18 - xor a - cp c - rst $28 - ld a, a - ld h, b - cpl - jr nc, jr_003_5ffe - - inc bc - cp b - rlca - add [hl] - rst $38 - adc a - -jr_003_6081: - rst $38 - ld [hl], c - ld [hl], c - ldh [$f0], a - add h - nop - and [hl] - ld [bc], a - add h - cp $02 - ld b, c - rst $38 - ld bc, $ef05 - ld de, $1ff1 - cp $1e - add e - inc bc - ld d, [hl] - rlca - ret z - - ld hl, sp+$04 - db $fc - ld [$f0f8], sp - ldh a, [$83] - ld [bc], a - cp $01 - rra - jr jr_003_602d - - nop - ld c, h - dec d - ld a, a - ld b, b - cp e - push hl - sbc a - or $bf - rst $30 - sbc a - ldh [rIE], a - add b - rst $38 - ldh a, [$7f] - ld b, c - ld [c], a - rst $38 - sbc [hl] - rst $38 - adc h - rst $38 - xor c - inc bc - ld h, b - nop - db $fc - -jr_003_60c8: - and h - inc b - rst $00 - ld bc, $06fa - add e - inc bc - ld d, h - inc b - or b - ld [hl], b - ldh a, [$f0] - jr nc, jr_003_6119 - - ldh a, [rNR10] - xor d - ld [bc], a - di - ld bc, $0202 - and e - dec b - ld [$0401], sp - inc b - and h - ld [bc], a - ld a, [hl] - adc e - ld bc, $07fd - nop - jr z, jr_003_611d - - ld d, c - ld d, l - ld b, a - ld d, a - ld d, d - ld b, c - ld b, l - ld b, b - jr @+$4f - - ld d, b - ld b, l - ld b, d - ld d, l - ld d, a - ld d, a - -Jump_003_6100: - ld a, [hl] - -Call_003_6101: - ld a, h - ld a, l - ld a, l - inc [hl] - add b - adc l - sbc c - add c - or l - add b - or h - add l - or c - sbc [hl] - sbc a - or h - sbc b - adc e - inc b - ld e, d - ldh [rNR42], a - xor $ee - -jr_003_6119: - ld bc, $0011 - ld d, l - -jr_003_611d: - nop - ld de, $3300 - nop - ld d, c - nop - ld d, l - ld b, b - ld d, c - rst $38 - rst $38 - sbc l - cp l - add hl, bc - dec d - pop de - ld b, l - ld de, $4105 - ld d, l - ld c, c - push de - xor h - db $fc - add e - rlca - call $2305 - ldh [rNR42], a - xor b - xor b - ld c, b - add sp, $5c - ld e, h - ld a, [bc] - ld d, d - ld b, $16 - ld [bc], a - or [hl] - xor d - or d - or [hl] - and [hl] - db $fc - db $fc - or [hl] - ld a, [$a901] - add hl, hl - dec b - ld l, c - ld b, l - add hl, hl - ld bc, $3b62 - call c, $00fe - adc h - add hl, sp - nop - inc b - inc d - inc c - jr nc, jr_003_6173 - - ld a, d - ld b, d - ld b, $fa - ld [bc], a - ld b, $f8 - ld b, $45 - db $fd - inc bc - dec b - -jr_003_6173: - ld sp, hl - rlca - ld [bc], a - rst $38 - db $fc - cp $c8 - inc b - add hl, de - ld a, [bc] - nop - inc bc - nop - rlca - nop - rrca - nop - rra - nop - ccf - nop - jp $e402 - - - rlca - rra - ldh [$80], a - rst $38 - inc a - ccf - ld bc, $ff01 - ld [hl+], a - ld bc, $6c00 - inc hl - ld bc, $24e0 - ld de, $5456 - ld d, e - ld h, h - add a - ld bc, $0e69 - ld bc, $7b89 - nop - ld [hl], d - ld d, d - ld bc, $010e - add [hl] - ld h, [hl] - ld bc, $0060 - adc d - ld c, $b2 - nop - nop - or d - nop - nop - or d - ld bc, $6001 - adc b - add l - ld [hl+], a - ld bc, $1401 - dec bc - dec h - ld a, [bc] - nop - ld [$0087], sp - ld sp, $0087 - ld sp, $0087 - ld hl, $6c08 - adc c - nop - ld h, [hl] - ld bc, $5655 - inc de - inc h - dec h - dec sp - nop - ld [$0087], sp - ld e, c - add a - nop - ld e, c - inc b - or d - and a - nop - or d - and a - add e - nop - ld h, $07 - ld h, h - add a - ld bc, $0050 - nop - inc de - inc hl - dec h - dec b - nop - ld [$0087], sp - -Jump_003_6200: - add c - -Jump_003_6201: - add [hl] - nop - add c - ld [$24a7], sp - dec sp - and a - inc h - dec sp - and a - inc h - dec c - ld [hl+], a - inc c - add hl, bc - dec c - ld bc, $5857 - inc de - inc hl - dec b - ld b, $38 - rlca - adc h - nop - add [hl] - add e - nop - xor e - dec c - and a - ld [$0523], sp - ld a, $26 - dec b - ld a, $26 - ld [$3605], sp - dec b - ld [$0083], sp - dec l - ld [bc], a - inc hl - dec b - ld b, $22 - and a - nop - inc hl - add h - nop - adc b - add l - nop - push de - ld bc, $3906 - add a - nop - xor l - rlca - ld [hl], $05 - dec b - dec c - dec b - inc bc - dec b - dec c - add l - nop - -jr_003_6252: - call $0505 - ld a, $3b - dec sp - ld h, $0d - add [hl] - nop - reti - - - add h - ld bc, $2200 - dec b - add h - ld bc, $0200 - inc bc - dec b - dec b - ld h, d - xor c - ld h, d - xor c - ld bc, $aaa9 - ccf - xor b - rst $38 - ld d, $2a - db $10 - ld de, $2614 - nop - nop - ld a, [hl+] - nop - nop - add c - nop - add hl, hl - daa - nop - nop - add hl, hl - nop - nop - daa - add d - nop - nop - add e - nop - nop - inc bc - nop - add hl, hl - daa - add e - add h - nop - rrca - inc b - nop - nop - add hl, hl - daa - add h - ld [hl+], a - nop - add e - nop - inc c - ld [bc], a - nop - add hl, hl - add l - jp $3000 - - - add h - nop - add hl, hl - dec bc - add [hl] - nop - db $10 - ld de, $2a14 - nop - jr z, jr_003_62db - - nop - add a - ld a, [hl+] - add l - nop - jr nz, @+$06 - - ld a, [hl+] - nop - adc b - jr z, @+$28 - - add e - nop - add hl, hl - dec b - nop - nop - daa - adc c - nop - ld a, [hl+] - add h - nop - ld d, c - rlca - ld a, [hl+] - jr z, jr_003_6252 - - daa - ld a, [hl+] - ld [de], a - inc de - ld d, $83 - nop - jr jr_003_62e0 - -jr_003_62db: - add c - jr z, jr_003_6304 - - nop - db $10 - -jr_003_62e0: - rlca - inc hl - ld b, $04 - nop - ld sp, $0d13 - nop - add e - nop - ld d, d - inc hl - nop - add e - nop - ld a, $0a - add hl, hl - daa - nop - db $10 - ld de, $0015 - ld [de], a - inc de - dec c - ld a, [hl+] - add h - nop - add e - ld bc, $2729 - add e - -jr_003_6304: - nop - ld b, d - inc hl - nop - add [hl] - nop - sbc h - add h - nop - jr nz, @+$03 - - jr z, jr_003_6337 - - jp Jump_003_6200 - - - add e - nop - adc a - add e - nop - ld c, $02 - ld h, $00 - nop - call nz, $af00 - add e - nop - and b - add l - nop - xor h - add h - nop - inc l - add e - nop - ret nz - - add l - nop - sub [hl] - inc bc - db $10 - ld de, $1616 - add h - nop - -jr_003_6337: - sub b - inc bc - add hl, hl - daa - jr nz, jr_003_6375 - - inc h - add hl, sp - ld bc, $0028 - add e - nop - ld l, c - add e - nop - ld d, d - ld [bc], a - jr z, @+$28 - - ld a, [hl+] - add h - nop - or [hl] - nop - nop - add e - nop - ld a, b - nop - ld h, $84 - nop - pop af - add [hl] - nop - db $fc - add e - nop - cp e - nop - ld a, [hl+] - add l - -jr_003_6362: - nop - ld a, [hl+] - add e - nop - ld e, h - add h - nop - inc c - add h - nop - sub $02 - ld a, [hl+] - nop - ld d, $83 - nop - ld b, d - add [hl] - -jr_003_6375: - ld bc, $8323 - nop - ld b, c - jp $c000 - - - add l - nop - adc $09 - nop - nop - jr z, jr_003_6395 - - ld de, $2a15 - ld sp, $0913 - add h - ld bc, $000b - ld d, $41 - ld c, $11 - nop - inc d - -jr_003_6395: - add e - nop - add d - add h - nop - ld [hl], e - ld [bc], a - ld b, $00 - nop - add e - nop - pop hl - ld bc, $2600 - push bc - nop - pop bc - add h - ld bc, $c309 - ld bc, $0331 - nop - ld h, $16 - ld [de], a - add e - -jr_003_63b4: - ld bc, $0051 - ld c, $84 - nop - ccf - dec b - nop - nop - -Jump_003_63be: - ld h, $68 - ld l, c - ld h, a - add e - nop - ld b, d - add l - nop - ret nz - - add [hl] - nop - or c - add e - ld bc, $0084 - ld c, b - add a - nop - ld [bc], a - add h - nop - push bc - add $00 - add d - add h - ld bc, $009a - jr z, jr_003_6362 - - nop - adc a - ld bc, $1132 - add e - nop - pop hl - add e - nop - sbc $41 - rrca - inc de - ld [bc], a - add hl, bc - ld de, $8314 - nop - jp hl - - - nop - ld b, b - ld [hl+], a - add hl, sp - nop - ld hl, $2141 - jr nc, @+$2a - - ld hl, $3003 - ld [de], a - inc de - inc c - call nz, $e701 - add h - ld bc, $03e0 - ld [de], a - inc de - inc c - rrca - add h - ld bc, $23f0 - ld hl, $4f00 - jr nc, jr_003_6439 - - ld [bc], a - jr nc, @+$14 - - inc de - ld [hl+], a - ld c, b - adc b - ld [bc], a - nop - ld [hl-], a - ld hl, $3003 - ld hl, $1312 - ld b, c - jr nc, @+$23 - - ld bc, $1312 - dec h - jr nc, jr_003_63b4 - - ld bc, $03ef - rlca - ld b, $06 - inc bc - add e - -jr_003_6439: - nop - ld [hl], l - nop - ld l, b - daa - ld l, c - nop - ld h, a - ld [hl+], a - nop - rlca - ld d, $00 - ld d, $77 - ld [hl], a - db $10 - ld de, $8916 - ld [bc], a - ld e, b - add l - ld [bc], a - ld h, b - ld [hl+], a - nop - nop - ld c, a - and e - ld [bc], a - ld h, e - add a - ld [bc], a - ld a, c - add h - ld [bc], a - add d - adc [hl] - ld [bc], a - ld [hl], d - dec l - nop - adc d - ld [bc], a - ld l, a - inc [hl] - ld l, c - ld bc, $0b0b - jr z, @+$4b - - dec hl - ld l, c - ld a, [hl+] - ld c, c - ld h, $0b - add h - ld [bc], a - pop af - add a - ld [bc], a - pop af - call z, $f502 - dec [hl] - dec bc - ld a, $49 - ld bc, $7b7b - ccf - ld c, [hl] - ld h, $7b - add h - inc bc - ld l, c - add a - inc bc - ld l, c - call z, Call_003_6d03 - dec [hl] - ld a, e - ldh a, [rNR51] - inc bc - ld c, e - db $e4 - ld [hl], b - ld a, e - db $e4 - ld [hl], a - nop - rst $38 - dec d - nop - daa - ld a, [hl+] - nop - nop - jr z, jr_003_64a6 - -jr_003_64a6: - daa - ld a, [hl+] - jr z, jr_003_64d0 - - nop - nop - dec h - nop - nop - ld a, [hl+] - nop - add hl, hl - nop - nop - daa - jp $1100 - - - jp $1400 - - - dec b - nop - daa - nop - add hl, hl - nop - ld h, $85 - nop - ld a, [de] - nop - daa - add h - nop - jr @-$3a - - nop - rlca - ld [bc], a - ld h, $00 - -jr_003_64d0: - rra - inc hl - nop - dec b - jr z, jr_003_64d6 - -jr_003_64d6: - daa - dec h - nop - nop - add h - nop - add hl, bc - nop - add hl, hl - add e - nop - ld a, [hl+] - nop - add hl, hl - add e - nop - dec d - add e - nop - ld b, a - ld bc, $2628 - add h - nop - ld d, $03 - add hl, hl - dec h - nop - daa - add l - nop - ld [hl], $00 - add hl, hl - add h - nop - ld e, a - add e - nop - ld b, a - nop - rra - add l - nop - ld b, b - add h - nop - ld b, c - ld bc, $2800 - add l - nop - jr nz, jr_003_6514 - - nop - dec h - nop - rra - daa - -jr_003_6514: - nop - ld h, d - inc a - add h - nop - add d - nop - nop - call nz, $8700 - ld [bc], a - dec h - nop - rra - add e - nop - stop - ld h, $85 - nop - ld sp, $0083 - ld de, $0084 - ld d, c - nop - rra - add h - nop - adc d - add e - nop - scf - add e - nop - adc d - ld b, c - rra - nop - add h - nop - cp h - add h - nop - dec l - add e - nop - ld [de], a - add h - nop - rla - add h - nop - add hl, sp - inc b - rra - ld h, $1f - nop - ld a, [hl+] - add l - nop - ld [hl], $87 - nop - cp a - ld b, c - rra - nop - add e - nop - add hl, bc - add a - nop - ld c, a - nop - ld b, l - dec sp - ld b, [hl] - nop - ld b, a - add h - nop - ld hl, $2802 - ld h, $2a - add h - nop - ld a, [de] - nop - ld a, [hl+] - rst $00 - nop - ret c - - nop - ld h, $85 - nop - ld [hl], d - call nz, $1a00 - push bc - nop - and e - ld bc, $2a00 - push bc - ld bc, $c51f - nop - ld [hl], $e4 - add hl, hl - ld b, [hl] - db $e4 - add hl, hl - nop - rst $38 - add hl, hl - ld h, h - ld [bc], a - ld c, b - inc sp - dec l - dec h - inc sp - inc bc - ld c, b - ld c, b - inc sp - inc bc - add a - nop - dec c - dec h - ld c, b - add e - nop - ld de, $0b27 - ld bc, $4848 - ld [hl+], a - ld a, d - nop - ld a, c - add e - nop - inc sp - ld bc, $4848 - daa - ld a, e - ld a, [hl+] - ld c, b - rst $38 - dec b - ld e, h - ld h, c - ld h, c - ld h, d - ld d, [hl] - ld h, e - ld [hl+], a - ld h, c - inc e - ld e, [hl] - ld h, e - ld de, $5114 - inc bc - ld d, e - nop - ld [de], a - inc de - ld h, d - ld h, e - inc de - add hl, bc - ld de, $0014 - db $10 - ld de, $6216 - ld h, e - ld d, $12 - inc de - dec c - nop - ld [de], a - inc de - add e - nop - inc e - ld bc, $1600 - ld [hl+], a - nop - ld [$1616], sp - ld h, d - ld h, e - ld l, c - ld l, c - ld h, a - nop - ld l, b - ld [hl+], a - ld l, c - ld [bc], a - ld h, d - ld h, e - ld c, c - dec h - dec bc - inc c - ld c, c - ld h, d - ld h, e - ld c, [hl] - ld a, c - ld a, d - ld a, d - ld a, c - ld a, d - ld a, d - ld c, [hl] - ld h, d - ld h, e - rst $00 - nop - ld c, [hl] - ld bc, $5d62 - inc hl - ld h, b - nop - ld d, d - add e - nop - ld c, h - ld a, [bc] - ld h, b - ld h, b - ld d, d - ld h, c - ld h, c - ld d, e - ld a, c - ld a, d - ld c, [hl] - ld h, d - ld e, h - add e - nop - ld l, b - ld [hl+], a - ld a, d - ld [bc], a - ld c, [hl] - ld h, d - ld h, e - add h - nop - ld [hl], c - add e - nop - ld d, [hl] - nop - ld h, e - add h - nop - ld c, c - nop - ld d, b - ld [hl+], a - ld h, b - add h - nop - ld a, b - ld bc, $5179 - jp $0800 - - - add e - nop - ld c, d - dec b - ld a, d - ld a, d - ld a, c - ld h, d - dec b - ld h, e - add h - nop - add a - inc hl - ld h, b - inc bc - ld h, e - ld a, c - ld h, d - ld e, h - inc h - ld h, c - inc b - ld e, [hl] - ld h, e - ld a, d - ld h, d - ld h, e - ld [hl+], a - nop - ld [bc], a - rlca - inc l - ld h, d - add a - nop - or h - nop - inc bc - add h - nop - cp l - dec bc - dec bc - dec bc - ld d, b - ld h, b - ld h, b - ld e, a - ld h, e - ld a, c - ld d, c - ld d, e - ld a, c - ld a, d - adc e - nop - sub d - ld [bc], a - ld a, d - ld h, d - ld h, e - daa - ld a, e - nop - ld h, d - rst $38 - add hl, hl - dec b - inc bc - ld e, h - ld [hl], b - ld [hl], b - ld e, [hl] - add e - nop - ld [$6103], sp - ld [hl], b - ld [hl], b - ld h, c - inc h - ld [hl], b - ld [bc], a - ld h, c - ld [hl], b - ld h, c - add e - nop - dec d - inc b - ld h, c - ld h, c - ld e, [hl] - dec b - ld e, h - add hl, hl - ld h, c - adc d - nop - inc h - dec bc - ld d, e - ld a, l - ld a, l - ld h, d - ld e, h - ld h, c - ld d, e - ld a, l - inc h - ld a, l - ld a, h - inc h - ld b, c - ld a, h - ld a, l - inc c - ld a, h - inc h - ld a, h - inc bc - inc h - ld a, l - ld a, h - ld a, l - ld a, b - ld a, b - ld h, d - dec b - ld h, e - inc hl - inc bc - dec b - inc h - inc bc - inc bc - nop - nop - inc bc - add [hl] - nop - ld d, [hl] - add $00 - ld e, a - nop - ld h, d - add e - nop - ld e, b - nop - inc h - rst $00 - nop - ld l, [hl] - add h - nop - db $76 - inc hl - ld a, b - ld [bc], a - ld d, c - ld h, c - ld d, e - adc [hl] - nop - ld e, c - nop - cpl - sbc [hl] - nop - ld l, c - ld [bc], a - ld d, b - ld h, b - ld d, d - ld [hl+], a - inc bc - nop - ld d, b - ld [hl+], a - ld h, b - inc bc - ld c, b - ld c, b - ld h, b - ld h, b - add e - nop - ld d, a - nop - -Jump_003_6706: - nop - sbc h - nop - ld l, c - nop - ld [hl], a - add e - nop - ld d, l - ld [hl+], a - ld a, [hl-] - nop - ld d, c - ld h, $61 - ld bc, $6305 - ld b, c - ld a, [hl-] - dec sp - nop - ld a, [hl-] - sub c - nop - ld l, e - add e - nop - ret nz - - ld bc, $5260 - inc h - ld c, b - add [hl] - nop - ld d, [hl] - nop - ld a, b - inc h - inc bc - ld [bc], a - ld h, d - dec b - ld e, l - daa - ld h, b - inc b - ld d, d - inc bc - inc bc - ld d, c - ld d, e - add [hl] - ld bc, $0e11 - ld h, b - ld d, d - inc bc - ld h, d - ld e, h - ld [hl], b - ld h, c - ld e, [hl] - ld h, e - ld d, b - ld h, b - ld h, b - ld d, d - ld d, b - ld e, a - add a - ld bc, $832c - nop - cp h - nop - ld h, d - add hl, hl - dec b - ld [$0363], sp - inc bc - ld d, b - ld d, d - inc bc - inc bc - ld h, d - ld e, h - ld b, c - ld h, c - ld [hl], b - dec bc - ld d, e - inc bc - ld d, c - ld d, e - ld a, h - ld a, l - ld d, c - ld d, e - ld d, c - ld [hl], b - ld h, c - ld d, e - add a - nop - ld a, [c] - nop - ld h, c - add h - nop - adc c - rlca - ld h, d - dec b - ld e, h - ld h, c - ld e, [hl] - ld e, h - ld h, c - ld e, [hl] - add l - ld bc, $8365 - nop - ld [hl], c - ld bc, $6362 - add h - nop - ld c, e - add l - nop - ld [hl], h - ld [bc], a - ld a, l - ld a, l - ld a, h - add e - nop - add c - add h - nop - ld e, e - ld b, c - ld a, b - inc bc - add h - ld bc, $0028 - ld h, e - add e - nop - ld [hl], b - add e - ld bc, $865d - ld bc, $839a - ld bc, $8439 - nop - ld l, h - add a - nop - db $76 - sub b - ld bc, $05b2 - ld e, l - ld h, b - ld e, a - ld e, l - ld h, b - ld e, a - add l - ld bc, $8465 - ld bc, $0039 - ld d, d - sub d - ld bc, $85d5 - ld bc, $843d - ld bc, $0034 - ld h, d - adc c - nop - ld h, $83 - nop - adc d - nop - inc h - add l - nop - ld l, a - sub b - ld bc, $87d7 - ld [bc], a - dec h - nop - ld d, e - add [hl] - nop - ld l, a - nop - ld a, b - add h - nop - add e - add [hl] - nop - ld e, c - add l - ld bc, $02d3 - ld a, [hl-] - dec sp - ld a, [hl-] - adc h - ld [bc], a - ld b, b - add l - nop - sub a - add e - ld [bc], a - ld h, b - add e - nop - ld [hl], c - add [hl] - ld [bc], a - ld a, [de] - ld [$3a52], sp - dec sp - ld a, [hl-] - ld a, [hl-] - dec sp - ld a, [hl-] - ld d, b - ld d, d - add e - ld [bc], a - ld l, [hl] - ld bc, $2303 - adc l - ld [bc], a - ccf - add l - nop - ret - - - add h - ld [bc], a - add l - ld bc, $605d - add h - ld bc, $83f9 - ld bc, $0765 - ld a, a - inc hl - ld a, [hl] - ld a, a - inc hl - ld a, [hl] - ld h, d - ld h, e - add e - ld [bc], a - ret - - - inc c - ld a, a - inc hl - ld a, [hl] - inc h - ld a, [hl] - ld a, a - inc h - ld a, [hl] - ld a, a - ld a, [hl] - ld c, b - ld c, b - ld a, a - add e - ld [bc], a - ld a, h - add h - nop - db $fc - add h - ld [bc], a - add l - add hl, hl - dec b - ld [$715d], sp - ld h, b - ld [hl], c - ld [hl], c - ld h, b - ld [hl], c - ld e, a - ld e, l - add e - ld [bc], a - ei - ld b, c - ld [hl], c - ld h, b - add h - inc bc - ld bc, $7103 - ld h, b - ld h, b - ld [hl], c - adc b - ld bc, $832e - nop - ret nz - - nop - ld e, a - rst $38 - ld bc, $2a00 - ld h, $00 - inc bc - jr z, jr_003_6877 - -jr_003_6877: - jr z, jr_003_689f - - call nz, $0400 - call nz, $0b00 - add e - nop - inc c - ld [bc], a - jr z, jr_003_6885 - -jr_003_6885: - nop - add hl, hl - ld hl, $0033 - ld [hl+], a - ld e, c - inc bc - ld h, l - nop - nop - ld h, [hl] - ld [hl+], a - ld e, c - ld [hl+], a - ld d, h - inc bc - ld d, a - inc sp - inc sp - ld e, b - ld [hl+], a - ld d, h - inc hl - inc bc - nop - -jr_003_689f: - inc sp - call nz, Call_003_5400 - adc c - nop - ld d, b - sub e - nop - ld d, b - ldh a, [$27] - nop - ld d, b - inc hl - ld c, b - nop - inc sp - call nz, $a400 - nop - inc hl - daa - inc sp - nop - inc hl - adc c - nop - xor d - sub e - nop - xor d - ld [bc], a - inc hl - inc sp - dec l - adc b - nop - xor l - nop - inc bc - add e - nop - and h - ld [bc], a - inc sp - inc sp - inc hl - add hl, hl - ld [hl], d - rst $38 - dec b - nop - rlca - rlca - ld b, $08 - ld [$0026], sp - nop - ld a, [hl+] - add h - nop - add hl, bc - inc c - nop - ld a, [de] - nop - add hl, hl - daa - nop - nop - ld a, [de] - ld a, [de] - nop - ld a, [bc] - inc hl - daa - ld [hl+], a - nop - dec bc - ld a, [bc] - ld a, [bc] - ld a, [de] - dec hl - add hl, hl - nop - ld a, [bc] - dec hl - nop - inc hl - ld a, [de] - nop - jp $2400 - - - rlca - ld a, [hl+] - nop - dec hl - add hl, hl - daa - nop - ld a, [de] - inc e - call nz, $2400 - dec bc - ld a, [hl+] - nop - inc hl - nop - dec hl - nop - nop - rlca - rlca - inc l - ld [$c708], sp - nop - ld c, $01 - jr z, jr_003_6946 - - ld [hl+], a - nop - nop - ld a, [de] - inc h - nop - jp $1b00 - - - ld bc, $230a - inc hl - nop - add hl, bc - ld a, [bc] - ld a, [bc] - nop - dec hl - jr z, jr_003_6935 - -jr_003_6935: - ld a, [bc] - dec hl - ld a, [de] - inc hl - add h - nop - ld h, a - ld [hl+], a - nop - nop - dec hl - add e - nop - jr @+$07 - - dec hl - ld a, [bc] - -jr_003_6946: - ld a, [bc] - nop - jr nz, jr_003_6980 - - dec h - scf - inc bc - nop - rlca - rlca - inc bc - add h - nop - inc b - ld [$2628], sp - ld a, [hl+] - nop - jr z, jr_003_695b - -jr_003_695b: - nop - ld h, $17 - adc c - nop - ld e, c - adc d - nop - ld h, d - ld b, $29 - daa - ld a, [bc] - inc e - ld a, [de] - inc hl - ld a, [hl+] - add l - nop - ld [hl], h - ld bc, $4848 - add e - nop - add hl, de - add e - nop - add b - ld [$3400], sp - inc sp - inc sp - dec l - inc sp - inc sp - -jr_003_6980: - ld c, b - ld h, $86 - nop - ld bc, $2807 - nop - daa - nop - jr z, jr_003_698c - -jr_003_698c: - ccf - ld l, [hl] - inc h - ld e, c - inc b - ld l, a - add hl, de - jr @+$1a - - add hl, de - add a - nop - and [hl] - jp $2500 - - - dec b - dec hl - ld a, [hl+] - nop - ld a, [bc] - inc e - nop - add h - nop - ld [hl], d - nop - ld a, [hl+] - add e - nop - cp [hl] - call nz, Call_003_7f00 - ld a, [bc] - ld a, [bc] - ld a, [bc] - nop - jr z, jr_003_69e8 - - inc sp - inc sp - inc bc - inc sp - ld c, b - ld c, b - add [hl] - nop - nop - add e - nop - sbc c - call nz, Call_003_5400 - nop - ld l, e - ld [hl+], a - ld d, h - nop - ld b, d - dec h - ld e, c - dec b - ld l, a - add hl, de - ld e, $23 - add hl, de - rla - add e - nop - dec l - add e - nop - ret nz - - ld bc, $2b0a - ld [hl+], a - ld c, b - add e - nop - ld l, $0b - jr z, @+$28 - - ld c, b - ld c, b - ld a, [de] - nop - nop - -jr_003_69e8: - add hl, de - -jr_003_69e9: - dec de - ld e, $1e - ld l, l - daa - ld e, c - daa - ld l, c - nop - ld h, a - daa - nop - add e - ld bc, $2428 - ld d, h - adc c - ld bc, $222c - ld c, b - dec bc - -Call_003_6a00: - ld a, [de] - -jr_003_6a01: - jr jr_003_6a21 - - dec de - ld c, b - inc bc - ld [hl], a - add hl, de - ld e, $1e - ld [hl+], a - add hl, de - jp Jump_003_4601 - - - nop - nop - add l - ld bc, $2755 - ld d, h - daa - ld c, c - add hl, hl - dec bc - nop - ld l, d - dec l - ld e, e - scf - ld e, d - inc l - -jr_003_6a21: - ld e, e - daa - ld c, [hl] - ld a, [hl+] - ld a, e - nop - ld l, h - db $e4 - ld sp, $ff55 - ld [bc], a - ld h, $00 - ld a, [hl+] - dec h - -jr_003_6a31: - nop - ld [bc], a - ld bc, $2600 - call nz, $0600 - ld [bc], a - jr z, jr_003_6a62 - - jr z, jr_003_6a01 - - nop - dec c - ld [bc], a - nop - nop - jr z, jr_003_6a67 - - nop - add hl, hl - ld hl, $0029 - inc hl - ld c, e - ld bc, $4d4c - inc hl - ld c, e - inc sp - inc bc - rst $38 - ld [bc], a - ld h, $00 - ld a, [hl+] - daa - nop - nop - ld h, $c4 - nop - ld b, $02 - jr z, jr_003_6a88 - -jr_003_6a62: - jr z, jr_003_69e9 - - nop - add hl, bc - nop - -jr_003_6a67: - jr z, jr_003_6a8b - - nop - add hl, hl - ld hl, $0029 - inc hl - ld c, e - ld bc, $4d4c - inc hl - ld c, e - inc sp - inc bc - rst $38 - inc b - ld b, $04 - ld d, [hl] - nop - add b - dec h - inc bc - ld [$0780], sp - dec b - nop - ld d, [hl] - rlca - dec b - -jr_003_6a88: - ld [de], a - db $10 - ret z - -jr_003_6a8b: - nop - dec bc - dec b - nop - ld d, [hl] - ld [$1a13], sp - ld d, h - ret - - - nop - inc e - dec b - ld de, $0913 - ld d, l - dec de - ld a, [de] - add h - nop - inc bc - nop - ld e, [hl] - add h - nop - add hl, de - dec b - ld d, l - db $10 - jr nz, jr_003_6ac6 - - dec de - jr nz, jr_003_6a31 - - nop - inc b - nop - nop - jp Jump_003_4600 - - - ld [hl+], a - jr nz, jr_003_6adb - - ld a, h - ld [bc], a - add b - inc bc - inc bc - ld [hl+], a - ld h, d - push bc - nop - ld d, l - inc hl - ld l, h - add a - nop - -jr_003_6ac6: - inc b - ld h, $6c - nop - ld [hl], h - daa - ld [hl], e - nop - ld [hl], l - ld [hl+], a - ld l, h - rst $38 - inc bc - nop - nop - dec bc - dec h - inc hl - ld bc, $3504 - -jr_003_6adb: - nop - nop - ld e, a - dec bc - dec h - ld bc, $3102 - nop - inc bc - add l - nop - inc c - ld bc, $3525 - dec h - ld [hl], e - add hl, bc - ld [hl], l - ld bc, $7374 - dec [hl] - dec bc - inc sp - ld bc, $5825 - ld [hl+], a - ld bc, $3c01 - ld h, b - add [hl] - nop - inc c - inc bc - inc a - ld e, d - ld h, c - inc sp - add h - nop - jr @+$04 - - ld bc, $3b59 - add l - nop - ld [hl+], a - inc hl - ld [hl], e - dec c - ld h, c - daa - daa - inc h - dec h - daa - ld h, $01 - ld e, b - ld bc, $3461 - inc a - dec sp - ld [hl+], a - ld bc, $2606 - ld bc, $6101 - dec bc - ld b, a - ld b, a - inc hl - ld bc, $2416 - ld bc, $0b61 - ld d, a - inc sp - ld bc, $393c - dec sp - ld bc, $6101 - inc sp - ld bc, $0125 - ld b, a - ld [bc], a - ld b, a - ld bc, $6124 - add e - nop - ld l, c - inc bc - dec [hl] - ld [bc], a - inc sp - ld bc, $0141 - daa - dec h - ld bc, $00c5 - inc e - nop - ld e, b - add h - nop - ld e, a - ld bc, $2425 - add e - nop - adc [hl] - ld [hl+], a - db $76 - jp Jump_003_6100 - - - dec b - dec h - daa - ld bc, $347d - ld h, $41 - dec a - ld bc, $3d05 - inc a - dec sp - ld a, b - nop - ld c, [hl] - ld b, c - ld [bc], a - add hl, sp - ldh [rNR44], a - ld [bc], a - ld [bc], a - ld b, a - ld a, b - nop - ld d, e - ld c, h - ld b, a - ld b, a - ld [bc], a - ld b, [hl] - ld c, h - cpl - ld a, c - nop - ld c, a - ld d, b - nop - nop - ld [bc], a - nop - ld d, b - nop - ld a, b - nop - inc c - inc hl - jr nz, @+$22 - - ld hl, $2320 - jr nz, jr_003_6c14 - - nop - dec c - add hl, hl - ld [hl], e - rst $38 - add hl, bc - add hl, bc - rlca - dec b - nop - nop - add hl, bc - rlca - dec b - inc sp - inc h - ld b, c - ld bc, $1325 - inc h - daa - ld bc, $2701 - ld bc, $0124 - ld bc, $0125 - ld h, $01 - daa - ld bc, $0831 - ld b, $04 - nop - add e - nop - ld e, $06 - inc sp - inc h - ld bc, $2427 - inc h - daa - add [hl] - nop - ld d, $02 - inc h - daa - dec h - add e - nop - dec d - dec e - ld bc, $0125 - ld b, c - ld [bc], a - ld b, b - ld bc, $2627 - daa - ld bc, $3601 - ld [hl-], a - nop - ld [hl-], a - inc [hl] - ld bc, $2601 - ld h, h - inc b - nop - nop - ld d, [hl] - ld [$0406], sp - jr nc, jr_003_6bf9 - - ld h, d - -jr_003_6bf9: - dec h - nop - daa - jp $3500 - - - nop - inc h - rst $00 - nop - ld a, [de] - inc bc - ld bc, $0126 - ld sp, $0083 - nop - dec b - add hl, bc - rlca - dec b - jr nc, jr_003_6c13 - - daa - -jr_003_6c13: - ld b, c - -jr_003_6c14: - ld h, $01 - add h - nop - ld h, l - ld b, c - ld h, $01 - add h - nop - scf - jp $2a00 - - - inc b - ld b, c - ld [bc], a - ld [bc], a - dec sp - ld h, $83 - nop - dec d - nop - ld a, [bc] - ld [hl+], a - nop - ld [$260b], sp - daa - ld bc, $0564 - ld [$0406], sp - add h - nop - ld [hl], d - add l - nop - add h - inc h - ld bc, $3708 - scf - ld bc, $0126 - scf - dec a - dec a - ld [hl], $22 - nop - add e - nop - ld e, $00 - nop - add h - nop - and a - inc de - ld [hl], $4e - dec sp - inc a - dec sp - scf - scf - ld bc, $0125 - scf - dec a - inc h - ld bc, $2726 - daa - inc a - dec sp - inc a - inc hl - ld [bc], a - inc b - ccf - ld a, $3b - dec a - ld [hl], $84 - nop - sub a - inc bc - inc [hl] - ld bc, $643d - add e - nop - inc b - add e - nop - ld hl, $3405 - inc a - add hl, sp - dec sp - ld [hl], $4e - add e - nop - ld a, [$3b09] - inc a - ld a, [bc] - dec bc - dec sp - dec a - inc a - ld e, e - ld b, [hl] - ld b, d - add e - nop - ld hl, $0084 - nop - ld b, $00 - inc [hl] - inc a - add hl, sp - add hl, sp - ld a, [bc] - ld d, e - ld [hl+], a - ld [bc], a - add l - ld bc, $0004 - ld b, a - add h - nop - rst $38 - inc hl - ld [bc], a - rlca - ld b, a - ld b, a - ld b, [hl] - ld b, d - ld c, h - ld b, a - ld [bc], a - ld a, [bc] - add h - nop - sub a - inc bc - dec bc - add hl, sp - ld [bc], a - ld h, h - add h - nop - ret nz - - add e - nop - nop - db $10 - ld c, b - ld c, c - ld b, h - ld a, [bc] - ld d, e - ld [bc], a - ld c, d - ld a, [bc] - ld d, e - ld c, d - ld c, l - ld a, [bc] - dec bc - ld b, a - ld [bc], a - ld b, [hl] - ld e, e - ld [hl+], a - nop - add l - ld bc, $2310 - nop - add e - ld bc, $1349 - ld c, a - ld c, b - ld [bc], a - ld c, c - ld a, [bc] - dec bc - ld b, h - ld b, a - ld c, d - ld e, e - nop - ld b, h - ld a, [bc] - ld c, a - ld c, h - ld b, [hl] - ld b, d - ld c, h - ld b, [hl] - ld [bc], a - inc hl - nop - ld de, $0050 - ld c, b - ld a, [bc] - ld a, [bc] - nop - ld e, l - nop - dec bc - -Call_003_6d03: - dec bc - ld b, a - ld c, d - ld h, h - add hl, bc - ld a, [de] - dec b - nop - ld d, [hl] - inc h - nop - db $10 - ld d, [hl] - nop - ld a, [bc] - ld c, a - ld b, d - ld c, e - ld a, [bc] - ld c, a - ld c, e - ld b, e - ld a, [bc] - dec bc - nop - ld a, d - ld a, h - ld a, h - ld a, e - daa - nop - ld bc, $1e1c - inc h - nop - ld a, [bc] - ld a, [bc] - inc c - nop - ld [bc], a - nop - ld a, [bc] - dec bc - add c - add c - ld c, e - ld e, e - add e - ld bc, $00b8 - ld d, b - add e - ld bc, $8681 - ld bc, $0d7e - nop - ld a, [bc] - ld a, [bc] - nop - ld e, a - nop - dec bc - dec bc - nop - ld c, e - ld h, h - nop - dec de - ld e, $83 - nop - ld hl, $561e - ld c, $00 - ld c, $20 - ld a, [bc] - dec c - jr nz, jr_003_6d7c - - ld a, [bc] - dec c - ld [hl+], a - jr nz, jr_003_6d69 - - dec bc - jr nz, jr_003_6dc6 - - ld l, h - ld l, h - ld a, [hl] - jr nz, jr_003_6d87 - - ld c, $0e - -jr_003_6d69: - jr nz, @+$22 - - ld c, $00 - ld a, [de] - ld a, [de] - ld c, $41 - ld c, $20 - inc d - ld a, [bc] - dec c - jr nz, jr_003_6d99 - - jr nz, jr_003_6d84 - - ld a, d - ld a, h - -jr_003_6d7c: - ld a, e - ld [hl+], a - ld e, e - jr nz, jr_003_6da1 - - ld a, [bc] - dec c - inc hl - -jr_003_6d84: - jr nz, @+$22 - - inc hl - -jr_003_6d87: - jr nz, jr_003_6daa - - inc hl - jr nz, jr_003_6d98 - - inc hl - jr nz, @+$22 - - ld a, [bc] - ld a, [bc] - nop - inc bc - nop - dec bc - dec bc - jr nz, @+$24 - -jr_003_6d98: - ld h, h - -jr_003_6d99: - ld [hl], $7c - inc hl - ld l, h - sub a - ld [bc], a - ld [hl-], a - inc a - -jr_003_6da1: - ld a, h - rst $38 - inc c - nop - ld [$0406], sp - nop - add hl, bc - -jr_003_6daa: - rlca - dec b - ld [de], a - db $10 - ld de, $0013 - add e - nop - inc b - add e - nop - inc b - add e - nop - ld bc, $0086 - ld bc, $0083 - ld bc, $5605 - nop - ld [$0606], sp - -jr_003_6dc6: - inc b - add e - nop - ld c, $03 - ld [$0406], sp - ld d, [hl] - add h - nop - inc c - add e - nop - ld h, $22 - nop - ld b, $14 - nop - nop - dec d - ld [$0406], sp - add e - nop - ld [$5600], sp - add h - nop - dec c - nop - nop - add h - nop - nop - jr c, jr_003_6dee - -jr_003_6dee: - add h - nop - add hl, hl - nop - ld d, [hl] - add l - nop - inc a - add h - nop - add hl, bc - inc hl - nop - add [hl] - nop - ld c, $83 - nop - ld [hl], d - ld [bc], a - add hl, bc - rlca - dec b - add h - nop - ld sp, $0083 - ld c, h - add l - nop - ld c, c - add h - nop - ld d, c - add h - nop - sub h - ld [$0856], sp - ld d, $00 - nop - jr jr_003_6e25 - - rlca - dec b - adc c - nop - db $76 - add h - nop - ld c, c - add l - -jr_003_6e25: - nop - ld l, $26 - nop - adc b - nop - push bc - add e - nop - push bc - add e - nop - sub b - add e - nop - ld l, $83 - nop - xor h - inc b - nop - nop - dec d - ld d, [hl] - nop - add h - nop - ld b, l - ld bc, $1e1c - add l - nop - ld l, $84 - nop - ld d, c - ld bc, $7b7a - add h - nop - ld d, c - add h - nop - ld [$0800], sp - add l - nop - jr z, jr_003_6e7f - - nop - ld bc, $1609 - add l - nop - db $ec - nop - rla - add a - nop - push hl - adc c - nop - ld a, l - inc l - nop - -jr_003_6e6a: - add a - nop - push bc - inc b - ld d, [hl] - ld b, $04 - inc e - ld e, $83 - nop - ld [de], a - ld [$1c16], sp - ld e, $18 - nop - nop - jr jr_003_6e85 - -jr_003_6e7f: - inc b - add e - nop - ld a, $02 - nop - -jr_003_6e85: - dec e - ld a, [de] - add l - nop - ld [de], a - add h - nop - ld a, [hl+] - ld bc, $7e64 - add h - nop - ld c, e - inc bc - inc d - ld e, l - nop - dec d - -jr_003_6e98: - add [hl] - nop - ld c, d - nop - ld d, [hl] - add h - nop - ld d, c - ld a, [bc] - ld [$0406], sp - ld d, $00 - inc d - inc e - ld e, $15 - inc e - ld e, $84 - nop - db $ec - nop - add hl, de - adc e - nop - jp z, $008e - - ld d, c - ld h, $52 - inc bc - rlca - dec b - dec e - ld a, [de] - add e - nop - add b - rrca - rla - dec e - ld a, [de] - db $10 - ld de, $1813 - rlca - dec b - rla - nop - nop - add hl, de - ld c, $1a - dec de - ld [hl+], a - ld c, $84 - nop - ld c, e - inc b - ld a, [de] - -jr_003_6ed9: - nop - add hl, bc - ld h, h - ld a, [hl] - ld [hl+], a - nop - dec b - inc e - ld e, $16 - ld e, a - nop - jr jr_003_6e6a - - ld bc, $06bb - ld a, d - ld a, e - nop - nop - ld a, d - ld a, h - ld a, e - add h - nop - inc c - dec c - ld d, $00 - rla - ld a, [de] - rra - add hl, de - dec e - ld a, [de] - nop - ld d, h - nop - nop - dec d - ld a, d - ld [hl+], a - ld a, h - nop - ld l, e - add a - ld bc, $8b9e - ld bc, $0130 - jr z, jr_003_6f3a - - daa - dec l - nop - jr nz, jr_003_6e98 - - ld bc, $02cd - nop - nop - ld c, $84 - ld bc, $01cd - dec d - rrca - ld [hl+], a - ld c, $83 - ld [bc], a - inc bc - jp $0602 - - - ld bc, $207b - ld [hl+], a - ld c, $e0 - inc h - nop - dec de - ld e, $0e - ld h, h - ld a, [hl] - jr nz, @+$10 - - ld c, $1a - -jr_003_6f3a: - ld a, [de] - ld d, $03 - nop - jr jr_003_6f5b - - ld e, $20 - ld a, d - ld l, h - ld a, [hl] - ld b, $04 - ld h, h - ld l, h - ld l, h - ld a, e - jr nz, jr_003_6f6d - - ld c, $00 - rla - ld c, $20 - dec de - ld a, [de] - jr nz, jr_003_6ed9 - - ld bc, $07ce - jr nz, jr_003_6fd5 - -jr_003_6f5b: - ld a, h - ld l, h - ld l, h - ld [hl], d - ld [hl], c - ld d, c - adc h - ld bc, $840a - nop - push bc - adc c - ld [bc], a - inc e - ld [bc], a - dec l - dec l - -jr_003_6f6d: - ld a, h - ld [hl+], a - ld h, [hl] - ld [hl+], a - ld a, h - nop - ld a, e - dec h - ld a, h - add e - ld [bc], a - sub a - ld b, c - ld l, h - ld h, l - dec b - ld h, l - ld h, l - ld l, h - ld h, h - ld l, h - ld h, [hl] - add e - ld [bc], a - sbc d - ld [hl+], a - ld h, [hl] - nop - ld h, l - jp $b702 - - - nop - ld h, [hl] - add e - ld [bc], a - sub h - inc hl - ld h, [hl] - rlca - ld l, h - ld l, h - ld a, [hl] - rlca - dec b - ld h, h - ld l, h - ld l, h - add [hl] - ld [bc], a - cp b - add h - ld [bc], a - cp l - inc hl - ld a, h - ld [hl+], a - ld l, h - ld [bc], a - ld l, c - ld l, l - ld l, a - sub c - ld bc, $022e - ld d, [hl] - nop - dec hl - ld [hl+], a - inc l - nop - add hl, hl - add l - ld [bc], a - dec e - nop - ld l, b - ld [hl+], a - ld h, a - add hl, bc - ld l, b - ld h, l - ld l, b - ld a, [hl] - ld h, l - ld l, b - ld h, l - ld l, h - ld h, l - ld l, b - add e - inc bc - dec b - ld b, c - ld l, b - ld h, a - inc bc - ld h, a - ld h, a - ld l, b - ld h, h - add e - inc bc - -jr_003_6fd5: - rrca - nop - ld a, e - add e - inc bc - ld [bc], a - dec h - ld h, a - add a - inc bc - ld hl, $6805 - ld h, l - ld a, [hl] - ld l, $2e - ld h, h - add $03 - inc [hl] - add l - inc bc - inc d - rlca - ld h, a - ld l, b - ld l, h - ld h, l - ld h, l - ld l, b - ld h, l - ld l, c - ld h, d - ld l, l - inc sp - ld l, $83 - ld [bc], a - rst $30 - nop - inc l - add h - inc bc - ld h, l - nop - inc l - rst $38 - inc bc - ld h, $01 - dec h - ld a, a - daa - ld [hl], e - ld a, [bc] - ld a, a - dec h - ld h, $01 - ld bc, $0127 - ld a, a - ld h, d - ld h, d - ld h, e - inc h - ld h, d - ld a, [bc] - ld a, a - ld bc, $2601 - dec a - inc a - add hl, sp - ld a, a - inc bc - inc bc - ld e, h - inc h - inc bc - ld b, $7f - dec h - ld bc, $4701 - ld [bc], a - ld b, a - add h - nop - inc hl - nop - ld e, [hl] - add e - nop - add hl, hl - dec b - dec a - inc a - add hl, sp - inc b - ld b, d - nop - add h - nop - inc hl - nop - nop - add e - nop - add hl, hl - ld [$0202], sp - ld b, a - dec b - ld d, a - ld d, a - ld a, a - inc bc - ld [hl], h - inc hl - ld [hl], e - ld [$0375], sp - ld a, a - ld b, [hl] - ld b, d - ld [$2733], sp - ld bc, $00c3 - inc l - nop - ld e, h - add e - nop - inc h - rlca - ld a, a - ld d, a - ld d, a - add hl, bc - ld bc, $2726 - add d - add a - nop - ld h, h - ld [$2482], sp - ld bc, $2535 - ld [hl], h - ld [hl], e - ld [hl], e - ld [hl], l - add e - nop - dec d - ld bc, $6263 - add e - nop - add c - add $00 - cpl - add h - nop - ld h, a - ld b, $5c - inc bc - ld a, a - ld h, $01 - ld bc, $8b24 - nop - sub d - ld bc, $2527 - adc d - nop - ld h, c - inc b - ld e, h - inc bc - ld a, a - ld bc, $833c - nop - ld d, l - nop - ld [hl], l - adc b - nop - sub l - nop - add hl, sp - jp Jump_003_4d00 - - - nop - add d - adc c - nop - sub h - ld bc, $4647 - adc l - nop - ret nc - - ld bc, $0406 - add h - nop - ld d, l - add l - nop - jp nz, Jump_003_5c05 - - inc bc - ld a, a - rlca - dec b - dec a - call nz, $ae00 - add h - nop - ld h, h - inc b - ld e, h - inc bc - ld a, a - ld [$c506], sp - nop - rst $08 - add a - ld bc, $0306 - add hl, bc - rlca - ld b, a - ld [bc], a - adc e - ld bc, $0302 - ld d, a - nop - nop - ld b, d - adc e - ld bc, $0302 - ld bc, $0035 - nop - add h - ld bc, $8602 - nop - ldh a, [rSB] - ld [hl], e - ld [hl], e - add $00 - ld l, [hl] - add l - nop - ld h, h - inc bc - add d - inc h - ld bc, $8701 - ld bc, $8401 - ld bc, $0159 - ld h, $01 - add [hl] - nop - ld a, [c] - add [hl] - ld bc, $0157 - ld bc, $2726 - ld [hl], e - ld bc, $6275 - add e - nop - adc d - ld [bc], a - ld [hl], e - ld [hl], e - ld h, $86 - nop - -jr_003_7124: - ld h, e - ret z - - ld bc, $8d68 - ld bc, $c391 - nop - xor a - adc e - ld bc, $0093 - ld bc, $00c4 - dec a - adc c - ld bc, $0295 - inc a - ld [bc], a - ld a, a - add l - nop - adc b - -jr_003_7140: - add [hl] - nop - ld b, $c3 - nop - ld c, [hl] - add e - nop - ld h, $c7 - ld bc, $0009 - ld b, a - add $01 - rst $28 - add a - ld bc, $86e7 - ld bc, $8840 - ld bc, $01e6 - inc b - nop - adc b - nop - inc bc - add e - nop - call nz, Call_003_7f02 - dec b - ld [$0086], sp - inc hl - ld [bc], a - ld e, h - inc bc - inc bc - jp $d401 - - - ld bc, $0900 - adc c - ld [bc], a - ld hl, $0187 - ei - add h - nop - dec [hl] - add a - ld [bc], a - jr z, jr_003_7181 - -jr_003_7181: - jr nz, @-$78 - - nop - ld b, e - add [hl] - ld [bc], a - -jr_003_7187: - jr c, @+$03 - - jr nz, jr_003_7206 - - adc b - ld bc, $8447 - nop - ld d, [hl] - ld bc, $7e7a - dec l - ld l, l - nop - ld h, h - rst $38 - ld [hl+], a - jr nz, jr_003_719c - -jr_003_719c: - ld [hl+], a - ld b, c - ld [hl+], a - jr nz, jr_003_7124 - -jr_003_71a1: - nop - ld bc, $2227 - ld [bc], a - jr nz, jr_003_7140 - - sbc c - add $00 - ld c, $02 - ld [hl+], a - sbc d - sbc d - push bc - nop - ld [$2227], sp - ld bc, $9998 - add h - nop - nop - nop - ld h, h - call nz, $2200 - add e - nop - dec de - nop - inc bc - add e - nop - inc bc - nop - ld [hl+], a - add hl, hl - sbc e - rst $38 - nop - sub b - dec [hl] - inc bc - nop - sub b - add h - nop - nop - inc bc - ld h, $00 - nop - daa - add h - nop - inc e - add l - nop - inc e - add a - nop - inc d - nop - ld h, e - inc hl - cpl - nop - ld c, a - add h - nop - dec [hl] - inc hl - cpl - nop - ld h, d - adc b - nop - inc l - inc hl - jr nc, jr_003_71f7 - -jr_003_71f7: - ld c, a - add h - nop - ld c, l - inc hl - jr nc, jr_003_7187 - - nop - ld b, e - inc hl - ld sp, $4f00 - add h - nop - -jr_003_7206: - ld h, l - inc hl - ld sp, $0087 - ld b, e - ld bc, $6338 - inc hl - ld [hl-], a - nop - ld c, a - add h - nop - ld a, l - inc hl - ld [hl-], a - ld [bc], a - ld h, d - inc bc - jr c, jr_003_71a1 - - nop - ld d, $01 - nop - ld h, e - inc hl - inc h - nop - ld c, a - add h - nop - sub l - inc hl - inc h - inc b - ld h, d - inc bc - nop - inc bc - sub b - scf - sub e - rst $38 - add hl, sp - inc bc - rlca - sub h - sub l - nop - nop - ld [hl], $37 - nop - dec [hl] - add e - nop - inc e - inc b - dec [hl] - nop - nop - inc sp - inc [hl] - add l - nop - jr nz, jr_003_724e - - ld a, [hl+] - inc l - -jr_003_724e: - ld e, b - ld [hl+], a - rla - ld b, $5d - ld a, [de] - dec d - inc e - dec d - inc bc - jr c, jr_003_727c - - inc bc - ld b, a - jr c, jr_003_7261 - - dec h - inc bc - ld [bc], a - -jr_003_7261: - ld h, $33 - inc [hl] - ld [hl+], a - nop - ld a, [bc] - ld [hl], $37 - inc sp - inc [hl] - nop - ld [hl], $37 - ld e, d - dec hl - inc sp - inc [hl] - add e - nop - ld e, l - dec c - ld a, [hl+] - ld e, b - ld bc, $1701 - inc bc - -jr_003_727c: - rla - ld e, l - ld a, [de] - inc e - add hl, de - ld a, [de] - inc bc - add hl, hl - ld [hl+], a - inc bc - ld b, $29 - inc bc - dec l - inc bc - inc l - inc bc - ld a, [hl+] - call nz, $8000 - add e - nop - ld a, a - add l - nop - ld d, d - ld [hl+], a - nop - ld [de], a - add hl, hl - nop - nop - add hl, hl - ld e, d - dec l - inc l - nop - ld a, [hl+] - ld e, b - ld bc, $2c59 - nop - nop - add hl, hl - ld a, [hl+] - dec l - ld e, b - ld [hl+], a - ld bc, $170b - inc bc - ld e, l - rla - inc e - add hl, de - ld a, [de] - inc e - ld e, $2e - ld e, $38 - ld b, a - -jr_003_72bd: - ld e, $2e - inc bc - ld e, $1e - sub h - sub l - add e - nop - ret z - - scf - ld l, $87 - nop - ld [hl], b - ld [hl+], a - rra - nop - nop - ld sp, $011f - sub b - sub b - add e - ld bc, $3704 - cpl - inc hl - rla - add e - nop - or b - inc b - nop - nop - sub h - sub e - sub l - cpl - nop - ld b, $8e - sub b - sub b - nop - nop - sub b - sub b - scf - jr nc, jr_003_7333 - - rla - ld e, l - add e - nop - ld [hl], h - dec [hl] - sub e - add l - ld bc, $3742 - ld sp, $5d41 - rla - add e - nop - or b - scf - sub b - inc bc - dec h - dec h - sub b - sub b - scf - ld l, $00 - ld e, l - add e - nop - dec [hl] - ld [bc], a - inc e - add hl, de - ld a, [de] - rst $38 - jr z, jr_003_731f - - nop - ld h, c - ld [hl+], a - ld b, $22 - ld [hl], h - -jr_003_731f: - inc bc - add c - add d - add b - add c - adc e - nop - nop - add [hl] - nop - dec c - nop - add d - adc d - nop - nop - add a - nop - jr nz, jr_003_72bd - -jr_003_7333: - nop - daa - ld h, d - add b - ld h, d - add b - add e - nop - ld b, [hl] - rst $38 - nop - ld h, b - daa - ld e, a - nop - ld h, c - ld b, c - add c - add d - ld bc, $6f6f - ld b, c - add c - add d - adc c - nop - nop - ld [bc], a - add b - ld l, a - ld l, a - ld h, d - add b - add e - nop - ld e, $9e - nop - nop - ld bc, $8281 - add e - nop - ld hl, $8102 - add d - add b - rst $38 - ld b, l - add c - add d - nop - add d - ld [hl+], a - add b - inc h - dec bc - ld b, $69 - dec bc - dec bc - ld c, $69 - dec bc - dec bc - inc h - ld b, $03 - inc bc - ld b, $06 - inc c - push bc - nop - ld hl, $8100 - ld [hl+], a - sbc e - inc bc - -jr_003_7386: - add d - add c - sbc e - add d - ld [hl+], a - ld b, $06 - add h - nop - add hl, sp - nop - ld a, c - nop - ld c, $84 - nop - ld a, [de] - ld [$009c], sp - inc bc - nop - ld a, c - nop - inc c - ld b, $68 - add [hl] - nop - jr z, jr_003_73a7 - - sbc e - add d - -jr_003_73a7: - inc c - call nz, $2200 - dec h - dec bc - ld bc, $9b81 - add h - nop - ld sp, $0624 - ld [hl+], a - nop - nop - ld a, c - add a - nop - ld h, $01 - nop - nop - add l - nop - jr nc, jr_003_7386 - - nop - ld [hl], b - ld [bc], a - sbc e - sbc e - add d - add l - nop - ld a, [de] - inc b - ld a, c - nop - nop - add h - ld c, $83 - nop - dec de - add l - nop - ld c, [hl] - nop - sbc h - add h - nop - ld c, b - ld b, $9c - nop - add hl, sp - nop - nop - sbc h - add l - add h - nop - ld d, h - add e - nop - ld b, d - ld bc, $9c00 - dec hl - sub e - rst $38 - dec b - nop - inc sp - inc [hl] - nop - dec [hl] - nop - add e - nop - nop - add e - nop - dec b - ld bc, $3736 - add e - nop - dec b - add hl, bc - -jr_003_7405: - inc l - ld a, [hl+] - dec l - dec hl - add hl, hl - nop - add hl, hl - ld a, [hl+] - dec l - dec hl - add hl, hl - ld l, $00 - adc a - daa - cpl - ld bc, $908f - ld [hl+], a - dec d - nop - ld c, b - inc hl - dec d - nop - sub b - add e - nop - ld [hl-], a - nop - inc bc - add h - nop - scf - add hl, hl - sub e - rst $38 - inc hl - jr nc, jr_003_742e - -jr_003_742e: - ld [hl+], a - add h - nop - nop - adc c - nop - nop - inc hl - jr nz, @-$7a - - nop - inc de - inc bc - ld [hl+], a - jr nz, jr_003_745e - - ld h, h - jp nc, $1900 - - inc bc - inc bc - jr nc, jr_003_7468 - - adc [hl] - add e - nop - ld bc, $9324 - nop - sub l - ld [hl+], a - jr nz, jr_003_7451 - -jr_003_7451: - sub h - adc c - nop - inc a - nop - inc c - inc hl - ld b, $04 - inc hl - ld [hl], l - ld b, $06 - -jr_003_745e: - inc hl - adc c - nop - ld d, b - add l - nop - ld d, b - ld bc, $740c - -jr_003_7468: - adc c - nop - ld h, d - add l - nop - ld e, b - inc b - adc [hl] - inc hl - inc c - ld b, $74 - add a - nop - ld h, e - inc bc - adc [hl] - ld [hl], h - inc hl - sub l - ld [hl+], a - jr z, jr_003_7405 - - nop - ld b, l - adc b - nop - adc l - dec b - ld hl, $0073 - dec sp - ld hl, $2240 - dec a - nop - ld a, $89 - nop - and b - add hl, bc - ld hl, $733a - dec sp - ld hl, $003b - add hl, sp - nop - ld a, [hl-] - add [hl] - nop - or h - nop - nop - add e - nop - cp h - rlca - nop - ld [hl], e - ld hl, $3c8e - inc bc - inc a - adc [hl] - add h - nop - ret z - - nop - ld b, c - ld [hl+], a - inc a - nop - ccf - inc sp - sub a - rst $38 - dec h - ld [$2103], sp - ld h, $00 - ld b, b - ld [hl+], a - nop - ld [bc], a - ld a, $00 - daa - add $00 - ld b, $85 - nop - ld bc, $0041 - ld b, b - ld b, c - nop - ld a, $c6 - nop - dec e - ld b, $98 - sub a - sub a - sbc c - db $10 - ld [$4121], sp - ld b, b - nop - nop - add hl, sp - ld b, c - nop - ld a, $00 - ld hl, $0084 - ld a, [hl+] - inc hl - sbc d - nop - ld de, $0084 - dec de - ld bc, $0300 - add e - nop - dec bc - ld [bc], a - ld hl, $0808 - ld [hl+], a - sbc d - nop - inc d - ld [hl+], a - inc de - dec b - ld [de], a - ld [$0021], sp - nop - add a - ld [hl+], a - and b - nop - adc b - jp Jump_003_6000 - - - inc bc - ld [$1314], sp - inc de - add a - nop - ld d, $01 - ld b, c - adc c - ld [hl+], a - and c - ld bc, $3f8a - adc l - nop - dec h - ld b, c - ld b, c - nop - nop - nop - ld b, c - nop - ccf - adc l - nop - inc a - ld b, c - ld b, c - nop - ld b, c - ccf - nop - adc [hl] - nop - ld d, d - add l - nop - adc l - adc [hl] - nop - ld h, a - ld [hl+], a - nop - nop - adc [hl] - ret - - - nop - ret nc - - ld [hl+], a - jr z, jr_003_754a - - adc [hl] - jr z, @+$2a - -jr_003_754a: - ld hl, $2822 - ld [bc], a - sub h - sub e - sub l - ret z - - nop - push hl - inc hl - sub e - ld bc, $0095 - add e - nop - call z, Call_003_7922 - call nz, $fb00 - -jr_003_7561: - nop - sub h - ld [hl+], a - sub e - dec h - nop - ld bc, $0021 - add h - ld bc, $0003 - sub l - ret z - - ld bc, $0210 - nop - nop - add hl, sp - add h - ld bc, $240c - ld a, c - jp z, $2601 - - nop - inc bc - add a - ld bc, $8600 - nop - db $f4 - ld [bc], a - inc bc - nop - nop - dec [hl] - sub [hl] - rst $38 - ld b, $00 - nop - inc sp - inc [hl] - ld [hl], $37 - rla - ld [hl+], a - dec d - add hl, bc - inc sp - inc [hl] - nop - dec [hl] - nop - nop - rla - ld c, b - dec d - dec d - ld [hl+], a - nop - inc c - ld [hl], $37 - nop - rla - inc bc - dec d - dec d - nop - inc sp - inc [hl] - nop - nop - sub h - inc hl - sub e - ld [hl+], a - nop - ld [bc], a - inc sp - inc [hl] - nop - add [hl] - nop - ld b, $02 - nop - nop - inc sp - add e - nop - ld b, $c3 - nop - rrca - add a - nop - ld [hl+], a - ld [bc], a - ld [hl], $37 - nop - add h - nop - dec l - dec h - cpl - add e - nop - ld b, $24 - jr nc, @-$7a - - nop - inc hl - dec h - jr nc, jr_003_7561 - - nop - ld b, $25 - ld sp, $0083 - ld b, $24 - ld [hl-], a - add a - nop - inc hl - ld b, $00 - nop - sub h - sub l - ld c, b - sub h - sub l - add [hl] - nop - add d - ld [bc], a - inc bc - sub h - sub l - inc h - ld c, e - ld b, $91 - sub c - ld c, e - sub c - sub c - ld c, [hl] - ld c, l - ld h, d - ld c, h - ld [bc], a - ld c, l - ld c, [hl] - ld c, l - ld b, d - ld c, h - ld c, [hl] - nop - ld c, [hl] - ld b, d - ld c, [hl] - ld c, h - ld [bc], a - ld c, [hl] - -jr_003_7613: - ld c, l - ld c, h - add e - nop - or h - dec b - ld c, [hl] - ld c, l - add e - sbc e - add d - add c - add e - nop - cp [hl] - ld bc, $9b83 - rst $38 - inc de - ld a, a - inc sp - inc [hl] - nop - dec [hl] - nop - nop - rla - add hl, de - ld a, [de] - nop - nop - inc sp - inc [hl] - ld [hl], $37 - nop - ld e, h - dec d - add hl, de - ld [hl+], a - nop - inc bc - ld a, [hl+] - dec hl - ld a, [hl+] - ld [hl], b - ld [hl+], a - ld [hl], c - add hl, bc - dec l - ld e, [hl] - dec l - ld e, b - ld e, c - ld e, b - ld e, h - dec d - add hl, de - ld a, [de] - dec h - ld l, $02 - rla - add hl, de - ld a, [de] - add e - nop - inc de - ld [hl+], a - nop - inc bc - ld e, h - ld c, b - inc e - dec d - dec h - nop - inc bc - ld e, l - inc bc - inc e - add hl, de - add hl, hl - sub [hl] - rst $38 - ld [bc], a - sub h - sub e - sub l - ld a, [hl+] - dec d - dec b - jr jr_003_7672 - -jr_003_7672: - nop - rla - dec d - jr nc, jr_003_769d - - dec d - ld b, $48 - dec d - dec d - jr jr_003_7613 - - nop - rla - ld [hl+], a - jr nc, jr_003_76a8 - - dec d - inc b - inc bc - dec d - sub h - sub e - sub l - adc c - nop - db $10 - add e - nop - nop - add h - nop - ld c, $88 - nop - dec [hl] - add e - nop - inc c - nop - dec l - add h - nop - -jr_003_769d: - ld b, c - add a - nop - nop - inc bc - jr jr_003_76d1 - - ld l, $17 - adc b - nop - -jr_003_76a8: - ld d, h - dec b - jr nc, jr_003_76c1 - - dec d - jr jr_003_76dd - - sub h - ld [hl+], a - sub e - add l - nop - ld [bc], a - add e - nop - ld [hl+], a - ld bc, $0018 - rst $38 - rlca - dec [hl] - nop - nop - inc sp - -jr_003_76c1: - inc sp - inc [hl] - nop - nop - ld h, $24 - ld [bc], a - nop - ld [hl], $37 - -jr_003_76cb: - inc hl - nop - ld [bc], a - inc sp - inc [hl] - inc hl - -jr_003_76d1: - inc h - jr z, jr_003_76d7 - - inc hl - nop - nop - -jr_003_76d7: - adc a - dec h - cpl - add hl, bc - inc hl - dec d - -jr_003_76dd: - dec d - ld c, b - dec d - dec d - inc hl - nop - nop - sub b - dec h - dec d - inc bc - inc hl - dec d - dec d - inc bc - add e - nop - inc l - ld [bc], a - sub h - sub e - sub l - inc hl - dec d - nop - sub h - ld h, $93 - inc bc - sub l - nop - rla - ld c, b - add e - nop - ld b, h - add h - nop - ld b, d - ld b, $15 - dec d - jr jr_003_7709 - -jr_003_7709: - nop - rla - inc bc - adc c - nop - ld d, h - ld [bc], a - dec d - jr jr_003_7713 - -jr_003_7713: - add h - nop - ld b, a - add a - nop - ld h, [hl] - ld [bc], a - dec d - jr jr_003_771d - -jr_003_771d: - rst $38 - ld bc, $4817 - ld h, $15 - ld [bc], a - jr jr_003_773d - - inc bc - add a - nop - ld [bc], a - ld [bc], a - add c - sbc e - add d - inc hl - dec d - inc bc - add c - add d - jr @+$19 - - daa - dec d - inc b - jr jr_003_775e - - inc h - add c - add d - -jr_003_773d: - dec h - inc h - add hl, hl - jr z, jr_003_76cb - - nop - ld e, $83 - nop - ld e, $00 - add c - add e - nop - ld d, $88 - nop - dec e - ld bc, $1848 - daa - inc h - nop - inc bc - add a - nop - ld sp, $8102 - sbc e - add d - adc l - -jr_003_775e: - nop - nop - add l - nop - ld c, d - add [hl] - nop - inc d - adc d - nop - ld c, l - add e - nop - ld [de], a - ld h, $9b - nop - add d - rst $38 - ld c, b - add c - add d - ld bc, $3900 - add hl, hl - nop - dec b - add c - sbc e - add d - nop - nop - inc bc - ld a, [hl+] - nop - add [hl] - nop - inc c - nop - adc a - ld [hl+], a - nop - add e - nop - ld [hl], $03 - add c - sbc e - add c - add d - inc hl - ld c, e - nop - sub c - add e - nop - ld b, e - inc hl - ld c, e - inc c - add c - add c - add d - ld c, [hl] - ld c, l - ld c, h - ld c, [hl] - sub d - ld c, h - ld c, [hl] - ld c, h - sub d - ld c, h - ld [hl+], a - ld c, [hl] - ld bc, $8181 - inc hl - sbc e - ld a, [bc] - add d - sub d - ld c, [hl] - ld c, h - add c - sbc e - sbc e - add d - ld c, [hl] - ld c, h - ld c, [hl] - add l - nop - ld de, $9205 - ld c, [hl] - ld c, l - ld c, h - sub d - ld c, l - add e - nop - ld e, h - nop - add d - add h - nop - ld [hl+], a - ld [bc], a - add c - add a - adc b - add h - nop - ld l, e - inc b - ld c, h - add c - add e - add h - add h - add e - nop - ld b, c - ld bc, $8a89 - inc h - ld c, [hl] - db $10 - add c - sbc e - add c - sbc h - sbc h - add d - ld c, [hl] - ld c, l - ld c, [hl] - ld c, h - ld c, [hl] - ld c, l - ld c, h - ld c, h - ld c, [hl] - add c - sbc e - add e - nop - sbc a - ld [bc], a - sbc e - sbc e - add d - add l - nop - ld h, b - inc hl - sbc e - rst $38 - ld a, [bc] - inc [hl] - nop - nop - inc sp - inc [hl] - nop - inc sp - inc [hl] - nop - dec [hl] - dec [hl] - add e - nop - ld [bc], a - add e - nop - ld bc, $3602 - ld [hl], $37 - add h - nop - ld c, $03 - nop - nop - ld a, [hl+] - add hl, hl - dec h - nop - inc c - ld a, [hl+] - dec l - ld e, b - ld bc, $2d59 - dec hl - add hl, hl - nop - ld a, [hl+] - ld e, b - ld bc, $2901 - ld l, $00 - dec l - and e - nop - dec c - add e - nop - ld [hl+], a - nop - inc l - ld h, d - add b - ld h, d - add b - add e - nop - ld b, [hl] - rst $38 - rrca - sub h - sub d - add a - ld bc, $5101 - ld bc, $8601 - nop - nop - halt - nop - ld d, h - ld d, e - inc h - ld bc, $5503 - ld d, [hl] - nop - ld a, b - add a - nop - ld c, $00 - and [hl] - inc hl - or b - ld [$b0a5], sp - add e - and d - and b - add d - add e - and d - ld d, d - dec h - ld bc, $5006 - nop - ld d, d - ld bc, $0064 - ld h, [hl] - add e - nop - rlca - inc de - add a - ld bc, $5655 - ld d, h - ld d, e - ld bc, $0060 - add a - ld bc, $5001 - ld d, h - ld d, e - ld bc, $0086 - ld c, d - ld h, a - add h - nop - ld [hl-], a - ld bc, $0000 - ld h, $3a - ld [bc], a - and h - and e - ld d, b - add e - nop - ld l, $1a - ld d, l - ld d, [hl] - ld [hl], h - ld h, [hl] - ld d, a - ld e, b - nop - ld e, d - ld e, c - ld bc, $9391 - ld bc, $0056 - nop - ld [hl], b - nop - ld [hl], d - nop - ld d, h - add h - add l - ld d, l - ld d, [hl] - nop - and b - inc hl - and h - ld b, $a2 - add e - and d - ld e, d - ld e, c - and c - and e - add e - nop - ld [de], a - nop - ld d, e - add h - nop - ld b, d - ld [hl+], a - ld bc, $6b05 - ld d, c - ld bc, $6401 - ld h, [hl] - add e - nop - ld d, [hl] - jr jr_003_7933 - - ld e, c - ld bc, $8786 - ld bc, $010d - ld bc, $5957 - ld bc, $6b01 - ld c, d - ld bc, $1101 - ld d, l - ld d, [hl] - nop - ld [hl], b - ld [hl], d - dec c - inc h - inc h - dec sp - nop - add a - add e - nop - sub b - ld [$0101], sp - ld d, a - ld e, h - ld e, c - sub c - sub l - sub l - sub e - ld [hl+], a - ld bc, $a105 - and e - ld bc, $5957 - add h - ld [hl+], a - nop - dec c - ld [hl], d - ld [hl], b - nop - nop - ld [hl], d - nop - ld e, d - ld e, c - ld d, c - ld bc, $a101 - and h - and d - add h - nop - rrca - add hl, bc - sub c - sbc d - -Call_003_7922: - sub h - sub h - sub d - nop - ld e, d - ld e, b - nop - ld d, d - add e - nop - inc b - inc b - ld bc, $0050 - ld d, h - ld e, l - -jr_003_7933: - add l - nop - rrca - inc b - ld de, $5355 - ld bc, $834a - nop - db $fc - ld b, $01 - ld de, $4a01 - ld d, l - ld d, [hl] - inc de - add h - nop - ld e, c - ld bc, $234a - inc h - dec b - inc bc - ld bc, $5001 - ld a, b - add l - nop - inc c - inc bc - and c - and h - and h - and e - add h - nop - inc de - inc c - ld d, d - ld bc, $0084 - sub b - sub d - nop - sub b - sub h - sub d - nop - nop - add l - add l - nop - xor $05 - sub d - ld e, d - ld e, c - ld d, l - ld e, l - ld d, e - add e - ld bc, $832f - ld bc, $0032 - sub c - add e - nop - ret nc - - dec b - ld d, l - ld d, [hl] - ld d, h - ld d, [hl] - nop - ld a, b - ld [hl+], a - nop - ld [$0152], sp - ld de, $6d01 - nop - ld [hl], b - add l - ld c, d - add h - ld bc, $0c11 - inc d - ld d, l - ld c, d - nop - nop - inc de - nop - ld a, b - ld c, d - inc h - dec sp - ld c, d - ld e, a - inc h - ld e, [hl] - rlca - add l - ld bc, $0084 - ld [hl], d - ld e, d - ld e, h - ld e, c - ld h, $01 - inc d - ld d, b - nop - ld e, d - ld e, c - add h - adc b - nop - nop - and b - and d - nop - and b - and h - and d - nop - sub b - sub d - ld h, d - ld bc, $a055 - add e - ld bc, $0031 - ld d, b - add a - ld bc, $078d - ld h, b - ld h, d - ld bc, $b0a6 - ld a, [hl] - sbc d - sub d - jp $e100 - - - ld c, $70 - nop - ld [hl], d - ld e, d - ld e, c - ld de, $6d01 - ld d, [hl] - jr jr_003_7a59 - - nop - nop - ld c, d - ld d, e - add h - ld bc, $09ca - nop - ld c, d - nop - nop - jr jr_003_7a67 - - nop - ld c, d - inc hl - dec b - add e - ld bc, $081f - ld [hl], $05 - dec b - nop - adc b - sub b - sub h - sub h - sbc c - ld [hl+], a - sub l - ld a, [bc] - sub e - ld bc, $0151 - ld h, b - adc b - ld h, d - sub c - sub l - sub a - sub h - add e - ld bc, $833e - ld bc, $0a41 - nop - nop - and [hl] - and l - db $76 - ld d, [hl] - nop - nop - ld a, b - ld [hl], b - ld h, d - inc hl - ld bc, $6808 - ld h, b - ld h, d - ld bc, $846c - sub b - sub h - sbc c - add e - nop - ld hl, $a502 - ld e, c - ld h, b - inc hl - nop - inc bc - ld a, [bc] - ld a, [bc] - inc c - dec bc - ld h, $0a - ld bc, $0a0d - add l - ld [bc], a - inc l - push bc - ld [bc], a - inc [hl] - dec bc - dec c - ld e, a - ld e, [hl] - dec c - ld e, a - ld e, [hl] - ld e, [hl] - inc bc - ld e, [hl] - ld e, [hl] - nop - -jr_003_7a59: - nop - add h - nop - ld hl, $b007 - or b - and l - sub l - sub l - sub a - sub d - nop - add h - -jr_003_7a67: - nop - add d - add e - ld bc, $01a0 - and h - and d - add l - ld [bc], a - inc b - inc bc - ld [hl], d - sub b - sub h - sub [hl] - ld [hl+], a - sub h - inc bc - sbc c - sub e - ld l, b - ld h, b - add e - ld bc, $04ec - sub a - sub h - and [hl] - or b - or b - add h - ld [bc], a - ld e, $03 - add h - nop - nop - ld [hl], c - ld h, d - xor c - ld h, d - xor c - add l - ld [bc], a - adc c - adc e - ld [bc], a - adc c - adc h - ld [bc], a - adc c - inc b - inc sp - inc sp - and [hl] - or b - add e - add h - nop - add h - add e - nop - inc hl - cpl - inc sp - ld [bc], a - and [hl] - and l - inc sp - add a - ld [bc], a - ld c, [hl] - add e - ld [bc], a - xor [hl] - call nz, $2500 - ld bc, $b0b0 - add h - ld [bc], a - ld e, h - ld [hl+], a - inc sp - nop - inc [hl] - db $e4 - inc h - xor h - rst $38 - add hl, hl - and h - nop - add d - inc h - or b - -jr_003_7acb: - ld [bc], a - add e - and h - ld d, d - ld [hl+], a - ld bc, $4a06 - ld bc, $6284 - ld c, d - ld d, b - and [hl] - inc h - or b - inc bc - and l - nop - ld bc, $8351 - nop - inc d - dec b - adc c - nop - ld c, d - ld bc, $83a6 - inc hl - and h - nop - and e - inc hl - ld bc, $21e0 - ld d, l - ld c, d - add h - ld e, e - nop - ld c, d - ld h, d - and [hl] - and l - ld bc, $584a - ld d, h - ld d, e - ld bc, $9101 - sbc d - sub h - dec c - sub h - inc bc - sub h - dec c - sub h - ld a, l - and l - ld d, l - ld c, d - ld d, e - ld d, a - ld e, b - ld d, d - ld bc, $0085 - inc e - add e - nop - dec c - inc bc - and d - nop - ld c, d - ld e, c - ld [hl+], a - ld bc, $9501 - ld a, l - add e - nop - ld c, $23 - and h - add hl, de - and d - nop - nop - ld c, d - ld bc, $9101 - sub l - or b - nop - or b - or b - and l - ld e, c - ld bc, $5751 - ld e, h - ld e, b - ld e, d - ld e, c - ld c, d - ld bc, $a655 - or b - adc b - nop - jr nc, jr_003_7acb - - nop - ld a, d - inc b - dec c - sbc d - sub h - ld a, l - add e - add e - nop - inc d - inc bc - ld bc, $5355 - sub c - ld [hl+], a - sub l - nop - ld a, l - add l - nop - dec e - rlca - ld d, d - ld bc, $014A - ld d, b - nop - sub b - ld a, l - add l - nop - ld [hl], b - add e - nop - ld [hl], e - inc e - ld bc, $4a01 - ld d, d - sub c - sub l - ld a, l - add e - and d - nop - ld d, d - ld d, c - ld bc, $5857 - ld e, d - ld e, h - ld e, c - sub c - sub l - dec c - sub l - ld a, l - or b - add e - and d - ld [hl], d - ld [hl], b - ld h, d - add h - nop - sub a - nop - sub e - add e - nop - ld e, d - nop - add e - add h - nop - ld [hl], h - rlca - nop - nop - adc b - ld b, c - sub e - ld bc, $a3a1 - add e - nop - ld e, d - inc b - ld a, [hl] - sub a - sub h - sub h - sub d - inc hl - nop - inc b - and [hl] - and l - nop - ld d, d - ld bc, $0087 - ld e, d - nop - and l - inc hl - or h - dec b - and [hl] - and l - ld e, c - ld bc, $6284 - add h - nop - ld l, $02 - add d - or b - add c - inc hl - and a - dec bc - add b - and l - ld bc, $0084 - nop - ld a, l - and l - add a - ld bc, $a101 - ld h, $a4 - ld b, $a3 - add h - nop - sub b - sub h - or b - and l - add e - nop - ld a, d - nop - sbc d - inc hl - sub h - ld b, $9b - sub l - sub a - sub h - sub h - ld a, l - or b - add e - ld bc, $8544 - ld bc, $8537 - nop - ld a, [bc] - add e - nop - rra - ld [$5585], sp - ld d, e - ld d, a - ld e, b - nop - nop - ld d, h - and b - add a - nop - rlca - inc c - and l - -Call_003_7c0b: - nop - ld [hl], d - sub b - sub d - nop - nop - ld a, b - ld a, b - nop - nop - ld [hl], b - nop - add h - nop - inc e - ld [$00a5], sp - nop - and b - and d - ld [hl], d - ld [hl], b - nop - nop - add e - ld bc, $8792 - ld bc, $2288 - nop - nop - sub b - ld [hl+], a - sub h - nop - sub d - adc h - ld bc, $0498 - and [hl] - add e - and h - add d - and l - add [hl] - ld bc, $0098 - ld a, [hl] - inc h - sub h - inc b - ld a, l - and l - nop - and b - and d - add [hl] - ld bc, $0098 - nop - add h - ld bc, $0021 - nop - add [hl] - ld bc, $86b1 - nop - ld h, b - ld [bc], a - nop - nop - and b - add e - nop - ld [hl], l - nop - sub b - add h - ld bc, $8352 - nop - jr nz, jr_003_7c68 - -jr_003_7c68: - sub b - add l - ld bc, $8502 - ld bc, $0c87 - or b - or b - sub d - ld a, [hl] - sub h - and [hl] - or b - and l - sub h - ld hl, $9422 - sub h - add h - nop - inc e - ld [$9490], sp - and l - xor c - xor d - and [hl] - or b - and l - xor e - ld h, d - xor c - ld h, d - xor c - ld h, d - xor c - inc b - and [hl] - or b - and l - inc sp - inc sp - add h - ld [bc], a - inc l - daa - inc sp - ld bc, $b0a6 - rst $38 - dec h - ld a, [bc] - nop - jr nz, jr_003_7ccb - - ld a, [bc] - add a - nop - ld b, $01 - or c - or c - dec h - and a - ld bc, $b1b1 - ld [hl+], a - xor l - ld b, $b1 - ld e, d - ld e, c - ld bc, $5957 - add [hl] - ld [hl+], a - nop - add hl, bc - ld l, d - ld bc, $5857 - ld e, d - ld e, c - ld bc, $0086 - ld h, [hl] - ld [hl+], a - ld bc, $0084 - -jr_003_7ccb: - jr nc, jr_003_7cd2 - - ld bc, $6401 - nop - sub b - -jr_003_7cd2: - sub d - dec h - dec sp - nop - add hl, bc - daa - dec sp - add a - nop - ld c, h - inc bc - add hl, bc - dec b - and a - inc h - ld [hl+], a - dec sp - ld [bc], a - and a - add hl, bc - inc h - ld [hl+], a - or c - add e - nop - ld a, $83 - nop - ccf - inc b - ld c, $66 - ld bc, $0e01 - inc h - ld bc, $6b00 - jr z, jr_003_7cfc - - dec b - -jr_003_7cfc: - ld d, l - ld d, e - ld bc, $a686 - and l - dec h - dec b - ld b, $09 - dec b - dec b - ld b, $38 - jr c, jr_003_7d13 - - adc b - nop - sub b - inc b - dec b - add hl, bc - dec b - -jr_003_7d13: - ld a, $26 - ld [hl+], a - dec b - add hl, bc - dec sp - add hl, bc - inc hl - dec b - inc b - add l - ld l, b - ld bc, $5250 - inc hl - ld bc, $4a00 - ld [hl+], a - rrca - inc bc - ld c, d - ld bc, $1101 - add h - nop - add h - dec c - ld d, c - ld bc, $5501 - ld d, [hl] - ld d, d - ld bc, $5857 - ld d, d - ld bc, $a5a6 - dec c - ld [hl+], a - ld a, [hl-] - nop - dec c - add h - nop - sub c - ld bc, $0000 - add [hl] - nop - sbc b - add e - nop - call c, $00c6 - sub d - nop - dec b - add e - nop - xor e - ld [bc], a - nop - nop - add l - inc hl - ld bc, $110a - ld d, [hl] - ld c, d - ld d, d - ld bc, $4a55 - ld d, l - ld d, [hl] - inc de - ld d, e - add h - nop - rrc h - ld d, l - ld d, [hl] - nop - nop - ld d, d - ld bc, $9101 - sub e - ld d, b - and [hl] - and l - ld c, d - ld [hl+], a - inc b - nop - ld c, d - add h - nop - sub c - ld bc, $3939 - add [hl] - nop - sbc b - add e - ld bc, $8322 - nop - jp hl - - - nop - cp l - adc b - nop - xor $11 - nop - ld h, d - ld bc, $5655 - inc de - nop - ld c, d - ld d, h - ld d, [hl] - nop - ld c, d - nop - nop - jr jr_003_7da3 - -jr_003_7da3: - ld d, h - ld d, e - adc b - nop - jr c, jr_003_7dac - - ld l, b - and [hl] - and l - -jr_003_7dac: - ld d, [hl] - add e - ld bc, $0016 - ld l, [hl] - add l - ld bc, $001b - dec b - ld [hl+], a - and a - nop - dec h - add e - nop - sub c - inc hl - and a - nop - dec h - add e - nop - jp hl - - - ld bc, $bdc0 - add e - nop - rst $28 - ld [hl+], a - xor b - inc h - ld a, [bc] - ld bc, $1800 - add e - ld bc, $0947 - nop - ld c, d - nop - ld a, [bc] - ld hl, $221f - ld a, [bc] - ld a, [bc] - inc c - add e - nop - cp [hl] - ld b, $01 - ld bc, $0084 - and [hl] - and l - ld e, e - add e - ld bc, $0416 - inc bc - inc b - ld c, d - dec b - dec c - ld [hl+], a - dec b - inc bc - ld a, $3b - dec sp - ld h, $83 - ld bc, $00a9 - ld a, $22 - dec sp - ld a, [bc] - ld h, $0d - dec b - and a - xor [hl] - -Jump_003_7e08: - and a - ret nz - - xor [hl] - and a - xor b - xor b - ld [hl+], a - xor l - nop - xor e - ld h, d - xor c - ld h, d - xor c - add l - ld bc, $8ac9 - ld bc, $09c9 - ld d, h - ld d, e - ld d, l - ld [hl], h - sub b - ld a, l - ld a, [hl] - inc bc - ld a, l - and l - jr c, @-$56 - - dec h - and a - inc h - xor l - nop - xor b - ld a, [hl-] - inc sp - dec b - and [hl] - nop - nop - or b - nop - and l - rst $38 - ldh [$28], a - inc bc - inc e - dec de - add hl, de - -Jump_003_7e3f: - dec de - dec e - add hl, de - add hl, de - inc e - inc bc - dec de - inc e - add hl, de - dec e - dec de - dec de - add hl, de - dec e - inc e - dec de - dec e - dec de - dec de - inc e - inc bc - inc e - dec e - dec de - inc e - inc bc - add hl, de - dec e - inc e - inc bc - inc bc - ld a, [de] - inc bc - inc e - ld a, [de] - dec e - add hl, de - ld [hl+], a - inc bc - rrca - dec e - inc bc - inc bc - inc e - inc bc - inc bc - dec de - add hl, de - inc bc - dec de - inc bc - add hl, de - inc bc - dec de - ld a, [de] - add hl, de - ld b, c - add hl, de - inc bc - add e - nop - dec l - add l - nop - ld a, $c4 - nop - inc h - nop - inc bc - inc sp - inc a - add hl, hl - nop - add hl, bc - ld c, e - add hl, bc - ld c, l - ld c, a - nop - nop - ld c, l - ld c, a - add hl, bc - ld c, d - adc c - nop - ld l, [hl] - sub e - nop - ld l, [hl] - add h - nop - ld l, [hl] - nop - ld a, h - adc c - nop - ld [hl], h - ld bc, $2f40 - add e - nop - db $76 - ld bc, $2b2a - ld [hl+], a - nop - dec b - ld l, $2d - ld c, d - ld c, e - jr z, jr_003_7edd - - dec h - nop - ld bc, $272c - ld a, [hl+] - nop - nop - ld c, $28 - nop - nop - ld c, d - ld h, $00 - add hl, bc - ld a, [bc] - ld a, [bc] - ld c, d - nop - ld hl, $0022 - ld c, $0a - ld a, [bc] - add hl, hl - xor b - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - -jr_003_7edd: - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - -Call_003_7f00: - rst $38 - rst $38 - -Call_003_7f02: - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - rrca - ld bc, $0000 - adc l - nop - nop - nop - push bc - inc de - nop - nop - add [hl] - call nz, $0000 - sub b - xor l - nop - nop - inc hl - pop bc - nop - nop - sbc b - di - nop - nop - inc h - nop +INCBIN "baserom.gb", $fed1, $10000 - $fed1 diff --git a/bank_005.asm b/bank_005.asm index a386f36..fbdbb8f 100755 --- a/bank_005.asm +++ b/bank_005.asm @@ -121,7 +121,7 @@ jr_005_4090: ld hl, $ff93 set 1, [hl] ld a, $02 - call $1e96 + call PlaySE ld hl, $d3be bit 0, [hl] jp nz, Jump_005_4761 @@ -830,12 +830,12 @@ jr_005_4448: xor a ld [$d069], a ld a, $06 - call $1e96 + call PlaySE jr jr_005_4458 jr_005_4453: ld a, $08 - call $1e96 + call PlaySE jr_005_4458: ld a, [$d40b] @@ -1189,7 +1189,7 @@ jr_005_460f: ld a, $81 ld [$d3bf], a ld a, $20 - call $1e96 + call PlaySE jp $21ce @@ -1208,7 +1208,7 @@ Jump_005_4647: jr_005_465c: ld [$d089], a ld a, $16 - call $1e96 + call PlaySE jp $21ce @@ -1222,7 +1222,7 @@ jr_005_4667: ld hl, $d1a0 set 4, [hl] ld a, $02 - call $1eb4 + call PlaySong jp Jump_005_470e @@ -1233,7 +1233,7 @@ jr_005_4684: set 5, [hl] res 6, [hl] ld a, $09 - call $1e96 + call PlaySE ld hl, $d1a0 set 4, [hl] ld a, $fc @@ -1241,14 +1241,14 @@ jr_005_4684: ld a, $03 ld [$d3e0], a ld a, $09 - call $1eb4 + call PlaySong jp Jump_005_470e Jump_005_46ad: call Call_005_47c0 ld a, $09 - call $1e96 + call PlaySE call Call_005_47b5 call Call_005_470e ld a, [$d086] @@ -1268,7 +1268,7 @@ jr_005_46c3: Jump_005_46ca: call Call_005_47c0 ld a, $09 - call $1e96 + call PlaySE call Call_005_47b5 call Call_005_470e call Call_005_479c @@ -1279,7 +1279,7 @@ Jump_005_46de: ld hl, $ff94 set 2, [hl] ld a, $0c - call $1e96 + call PlaySE ld hl, $d140 add hl, bc ld a, [hl] @@ -1298,7 +1298,7 @@ Jump_005_4704: ld hl, $ff94 set 2, [hl] ld a, $09 - call $1e96 + call PlaySE Call_005_470e: Jump_005_470e: @@ -1319,7 +1319,7 @@ Jump_005_471b: jr_005_4723: ld a, $09 - call $1e96 + call PlaySE ld a, [$d06b] and a jr z, jr_005_4730 @@ -1386,7 +1386,7 @@ jr_005_4782: jr_005_4791: call $3768 ld a, $09 - call $1eb4 + call PlaySong jp $21ce @@ -1402,7 +1402,7 @@ Jump_005_479c: ld [$d086], a push de ld a, $0b - call $1e96 + call PlaySE pop de ld a, $0a jp Call_000_1de0 diff --git a/bank_006.asm b/bank_006.asm index f7806d9..913adb1 100755 --- a/bank_006.asm +++ b/bank_006.asm @@ -1,6 +1,6 @@ SECTION "ROM Bank $006", ROMX[$4000], BANK[$6] -Call_006_4000: +ExecuteTitlescreen: ld a, $ff ld [wClearAllSprites], a call ClearSprites @@ -16,73 +16,65 @@ Call_006_4000: ld de, _VRAM ld c, Bank(KirbySpriteGfx) call Decompress - ld hl, $4000 - ld de, $8800 - ld c, $0a + ld hl, TitlescreenGfx1 + ld de, _VRAM + $800 + ld c, Bank(TitlescreenGfx1) call Decompress - ld hl, $42ac - ld de, $9000 - ld c, $0a + ld hl, TitlescreenGfx2 + ld de, _VRAM + $1000 + ld c, Bank(TitlescreenGfx2) call Decompress - ld hl, $77e9 - ld de, $8e00 - ld c, $02 + ld hl, FontGfx + ld de, _VRAM + $e00 + ld c, Bank(FontGfx) call Decompress - ld hl, $4000 - ld de, $9800 - ld c, $03 + ld hl, TitlescreenTilemap + ld de, _SCRN0 + ld c, Bank(TitlescreenTilemap) call Decompress ld a, $05 - call $1eb4 + call PlaySong ld a, $01 - call $21fb - call $1e67 + call Call_000_21fb + call StopTimer xor a ld_long $ff90, a ld a, $04 ld_long $ff8f, a - call Call_006_40a0 + call TryDrawExtraGameText ld a, $01 - call $1dc3 - call $0670 + call Call_000_1dc3 + call Call_000_0670 ld a, $08 ld [$d050], a - -jr_006_407a: +.checkInput: ld a, $01 - call $1dc3 + call Call_000_1dc3 ld_long a, $ff8b - cp $86 - jp z, Jump_006_6386 - - cp $45 - jr nz, jr_006_4093 - - ld a, $01 - ld [$d03a], a - call Call_006_40a0 - -jr_006_4093: + cp PADF_DOWN | PADF_SELECT | PADF_B + jp z, ExecuteConfigurationModeScreen + cp PADF_UP | PADF_SELECT | PADF_A + jr nz, .noExtraGame + ld a, 1 + ld [wExtraGameEnabled], a + call TryDrawExtraGameText +.noExtraGame: ld_long a, $ff8b - and $08 - jr z, jr_006_407a - + and PADF_START + jr z, .checkInput ld a, $1b - call $1e96 + call PlaySE ret - -Call_006_40a0: - ld a, [$d03a] +TryDrawExtraGameText: + ld a, [wExtraGameEnabled] and a ret z - - ld bc, $9945 - ld de, $40ca + ld bc, _SCRN0 + $145 + ld de, ExtraGameText ld hl, $cb00 - ld a, $0a - -jr_006_40b0: + ld a, 10 +.loop: push af ld a, b ld [hl+], a @@ -94,8 +86,7 @@ jr_006_40b0: inc bc pop af dec a - jr nz, jr_006_40b0 - + jr nz, .loop xor a ld [$cb1e], a ld_long a, $ff91 @@ -103,15 +94,11 @@ jr_006_40b0: ld_long $ff91, a ret +ExtraGameText: + db "EXTRA GAME" - db $e4 - ld a, c - ld a, [c] - ldh a, [$e0] - nop - and $e0 - db $ec - db $e4 + +Call_006_40d4: ld a, $01 ld [$d039], a ld a, $06 @@ -166,9 +153,9 @@ jr_006_411c: ld_long $ff8d, a call Call_000_0648 ld a, $ff - call $1e96 + call PlaySE ld a, $ff - call $1eb4 + call PlaySong pop hl ld_long a, $ff95 bit 7, a @@ -242,7 +229,7 @@ jr_006_4142: ld a, [hl+] ld [$d03e], a push hl - call $1e67 + call StopTimer call $19c9 call $19f9 pop hl @@ -288,7 +275,7 @@ jr_006_421e: call $1964 xor a ld [wClearSpritesOffset], a - call $21fb + call Call_000_21fb call $139b call Call_000_2329 call ClearSprites @@ -316,11 +303,11 @@ jr_006_424a: jr z, jr_006_4263 ld a, [$d03c] - call $1eb4 + call PlaySong jr_006_4263: call Call_000_1570 - call $1e67 + call StopTimer call Call_000_0670 call Call_000_8dc ret @@ -452,9 +439,9 @@ Call_006_42e8: cp $04 jr z, jr_006_435b - ld hl, $77e9 - ld de, $8e00 - ld c, $02 + ld hl, FontGfx + ld de, _VRAM + $e00 + ld c, Bank(FontGfx) call Decompress ld hl, $5cdd ld de, $8800 @@ -481,13 +468,13 @@ jr_006_435b: ld de, $9800 call Decompress xor a - call $21fb - call $1e67 - call $0670 + call Call_000_21fb + call StopTimer + call Call_000_0670 pop hl ld a, [hl] ld [$d03c], a - call $1eb4 + call PlaySong ld a, [$d03b] add a ld e, a @@ -662,7 +649,7 @@ Call_006_4485: call $19c9 call Call_000_0648 ld a, $ff - call $1e96 + call PlaySE pop hl xor a ld [$d053], a @@ -693,7 +680,7 @@ Call_006_4485: ld [wClearAllSprites], a call Call_006_444f xor a - call $21fb + call Call_000_21fb call ClearSprites call $2e9c ld a, [$d03b] @@ -705,11 +692,11 @@ Call_006_4485: jr nz, jr_006_44eb ld a, $12 - call $1eb4 + call PlaySong jr_006_44eb: - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 pop hl pop af ret @@ -824,7 +811,7 @@ jr_006_4591: Call_006_459e: ld a, $21 - call $1e96 + call PlaySE xor a ld [$d067], a ld [$d068], a @@ -887,7 +874,7 @@ jr_006_45f6: jr z, jr_006_45b5 ld a, $18 - call $1e96 + call PlaySE ld_long a, $ff93 and $fa ld_long $ff93, a @@ -909,9 +896,9 @@ jr_006_462f: xor a ld [$d086], a ld a, $15 - call $1e96 + call PlaySE ld a, $ff - call $1eb4 + call PlaySong ld hl, $d3df xor a ld [hl+], a @@ -950,11 +937,11 @@ jr_006_4678: ld_long $ff95, a call Call_000_2329 ld a, $01 - call $1dc3 + call Call_000_1dc3 ld a, $3b call Call_000_1de0 ld a, $07 - call $1eb4 + call PlaySong ld hl, $ff94 set 5, [hl] call Call_000_2317 @@ -981,7 +968,7 @@ jr_006_46c2: jr_006_46c7: ld a, $01 - call $1dc3 + call Call_000_1dc3 pop bc dec b jr nz, jr_006_46b6 @@ -1036,7 +1023,7 @@ jr_006_46c7: jr z, jr_006_4731 ld a, [$d03c] - call $1eb4 + call PlaySong jr_006_4731: ld_long a, $ff91 @@ -1063,7 +1050,7 @@ jr_006_4757: call $1c01 call StartTimer ld a, $0a - call $21fb + call Call_000_21fb ld hl, $4665 ld de, $9800 ld c, $03 @@ -1073,12 +1060,12 @@ jr_006_4757: ld c, $03 call Decompress ld a, $03 - call $1eb4 + call PlaySong xor a ld [$d053], a ld [$d055], a - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 xor a ld [wClearSpritesOffset], a call $2e9c @@ -1116,13 +1103,13 @@ jr_006_47b0: ld [$d051], a ld [$d052], a ld a, $0b - call $21fb + call Call_000_21fb ld a, $ff ld [wClearAllSprites], a call ClearSprites - ld hl, $77e9 - ld de, $8e00 - ld c, $02 + ld hl, FontGfx + ld de, _VRAM + $e00 + ld c, Bank(FontGfx) call Decompress ld hl, $5cdd ld de, $8800 @@ -1139,9 +1126,9 @@ jr_006_47b0: Jump_006_4800: ld a, $04 - call $1eb4 - call $1e67 - call $0670 + call PlaySong + call StopTimer + call Call_000_0670 jr_006_480b: ld hl, $ff8c @@ -1191,13 +1178,13 @@ jr_006_483e: set 5, [hl] call Call_006_40e4 ld a, [$d03c] - call $1eb4 + call PlaySong jp $01e6 Jump_006_485e: ld a, $3c - call $1dc3 + call Call_000_1dc3 call Call_000_0648 call StartTimer jp $0156 @@ -1209,16 +1196,16 @@ Jump_006_486c: call ClearSprites call Call_000_0648 ld a, $ff - call $1e96 + call PlaySE ld a, $ff - call $1eb4 + call PlaySong xor a ld_long $ff90, a inc a ld [$d051], a ld [$d052], a ld a, $03 - call $21fb + call Call_000_21fb call Call_006_5098 call $1c01 ld a, $04 @@ -1243,8 +1230,8 @@ Jump_006_486c: ld de, $9800 ld c, $03 call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $00c8 ld hl, $ff8c @@ -1289,7 +1276,7 @@ jr_006_48e0: ld c, $06 call Decompress ld a, $04 - call $21fb + call Call_000_21fb call Call_006_5098 ld a, $12 ld [$d03f], a @@ -1297,8 +1284,8 @@ jr_006_48e0: ld [$d040], a ld hl, $c104 call $1964 - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01b0 ld hl, $ff8c @@ -1320,7 +1307,7 @@ jr_006_495b: call ClearSprites call Call_000_0648 ld a, $05 - call $21fb + call Call_000_21fb call Call_006_5098 call StartTimer ld hl, $41c7 @@ -1339,8 +1326,8 @@ jr_006_495b: ld de, $9800 ld c, $03 call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $0200 ld hl, $ff8c @@ -1360,7 +1347,7 @@ jr_006_49b7: call Call_000_0648 call StartTimer ld a, $06 - call $21fb + call Call_000_21fb call Call_006_5098 xor a ld_long $ff8f, a @@ -1389,8 +1376,8 @@ jr_006_49e7: jr nz, jr_006_49e5 push de - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 pop de ld hl, $9be0 ld_long a, $ff91 @@ -1471,7 +1458,7 @@ Jump_006_4a65: call Call_000_0648 call StartTimer ld a, $07 - call $21fb + call Call_000_21fb Call_006_4a78: call Call_006_5098 @@ -1544,19 +1531,19 @@ jr_006_4aba: set 1, [hl] ld a, $90 ld [$d05b], a - call $1e67 + call StopTimer ld a, $40 ld [wBGP], a ld a, $40 ldh [rOBP0], a ld a, $05 - call $1dc3 + call Call_000_1dc3 ld a, $90 ld [wBGP], a ld a, $80 ldh [rOBP0], a ld a, $05 - call $1dc3 + call Call_000_1dc3 ld a, $e1 ld [wBGP], a @@ -1564,9 +1551,9 @@ Call_006_4b00: ld a, $d0 ldh [rOBP0], a ld a, $05 - call $1dc3 + call Call_000_1dc3 ld a, $0b - call $1eb4 + call PlaySong ld a, $98 ld [$d06b], a ld a, $1f @@ -1772,24 +1759,24 @@ Jump_006_4c5c: ld a, $d0 ldh [rOBP0], a ld a, $05 - call $1dc3 + call Call_000_1dc3 ld a, $40 ld [wBGP], a ld a, $80 ldh [rOBP0], a ld a, $05 - call $1dc3 + call Call_000_1dc3 ld a, $00 ld [wBGP], a ld a, $40 ldh [rOBP0], a ld a, $05 - call $1dc3 + call Call_000_1dc3 call StartTimer xor a ld [wBGP], a ld a, $08 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $ffff res 1, [hl] @@ -1800,8 +1787,8 @@ Jump_006_4c5c: ld de, $9800 ld c, $03 call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $0144 ld hl, $ff8c @@ -1821,14 +1808,14 @@ jr_006_4cba: call Call_000_0648 call StartTimer ld a, $09 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $441d ld de, $9800 ld c, $03 call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $0190 call Call_006_5086 ld de, $01a4 @@ -1862,12 +1849,12 @@ jr_006_4d06: jp z, Jump_006_5055 ld a, $01 - call $1eb4 + call PlaySong xor a ld [$d03b], a call Call_006_4275 ld a, $0c - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $4000 ld de, $9000 @@ -1877,14 +1864,14 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 call StartTimer ld a, $0d - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $46fb ld de, $9000 @@ -1894,14 +1881,14 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 call StartTimer ld a, $0e - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $4dc0 ld de, $9000 @@ -1911,8 +1898,8 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $00ec call Call_006_5086 call Call_000_0648 @@ -1921,7 +1908,7 @@ jr_006_4d06: ld [$d03b], a call Call_006_4275 ld a, $0f - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $543e ld de, $9000 @@ -1931,14 +1918,14 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 call StartTimer ld a, $10 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $5a89 ld de, $9000 @@ -1948,8 +1935,8 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 @@ -1958,7 +1945,7 @@ jr_006_4d06: ld [$d03b], a call Call_006_4275 ld a, $11 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $6063 ld de, $9000 @@ -1968,14 +1955,14 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 call StartTimer ld a, $12 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $6658 ld de, $9000 @@ -1985,8 +1972,8 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 @@ -1995,7 +1982,7 @@ jr_006_4d06: ld [$d03b], a call Call_006_4275 ld a, $13 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $6c7c ld de, $9000 @@ -2005,14 +1992,14 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 call StartTimer ld a, $14 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $729b ld de, $9000 @@ -2022,8 +2009,8 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 @@ -2032,7 +2019,7 @@ jr_006_4d06: ld [$d03b], a call Call_006_4285 ld a, $15 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $4000 ld de, $9000 @@ -2042,8 +2029,8 @@ jr_006_4d06: ld de, $9800 ld c, $0d call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 @@ -2052,7 +2039,7 @@ jr_006_4d06: ld [$d03b], a call Call_006_4285 ld a, $16 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $4582 ld de, $9000 @@ -2062,8 +2049,8 @@ jr_006_4d06: ld de, $9800 ld c, $0e call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 @@ -2072,7 +2059,7 @@ jr_006_4d06: ld [$d03b], a call Call_006_4285 ld a, $17 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $4bf3 ld de, $9000 @@ -2082,8 +2069,8 @@ jr_006_4d06: ld de, $9800 ld c, $0e call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 @@ -2092,7 +2079,7 @@ jr_006_4d06: ld [$d03b], a call Call_006_4285 ld a, $18 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $5206 ld de, $9000 @@ -2102,8 +2089,8 @@ jr_006_4d06: ld de, $9800 ld c, $0e call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 call Call_000_0648 @@ -2113,7 +2100,7 @@ jr_006_4d06: ld c, $02 call Decompress ld a, $19 - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $5820 ld de, $9000 @@ -2123,8 +2110,8 @@ jr_006_4d06: ld de, $9800 ld c, $0e call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld de, $01a0 call Call_006_5086 ld de, $012c @@ -2151,9 +2138,9 @@ jr_006_501e: call Call_000_0648 call StartTimer ld a, $ff - call $1eb4 + call PlaySong ld a, $1a - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $5cbf ld de, $8000 @@ -2163,8 +2150,8 @@ jr_006_501e: ld de, $9800 ld c, $0e call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 jr_006_504d: ld de, $0000 @@ -2173,9 +2160,9 @@ jr_006_504d: Jump_006_5055: ld a, $ff - call $1eb4 + call PlaySong ld a, $1b - call $21fb + call Call_000_21fb call Call_006_5098 ld hl, $6dd9 ld de, $8000 @@ -2185,8 +2172,8 @@ Jump_006_5055: ld de, $9800 ld c, $0e call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 jr_006_507e: ld de, $0000 @@ -7094,7 +7081,7 @@ Jump_006_5f00: rst $38 rst $38 -Jump_006_6386: +ExecuteConfigurationModeScreen: call Call_000_0648 call StartTimer call $231e @@ -7134,8 +7121,8 @@ jr_006_63db: dec a jr nz, jr_006_63db - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 ld a, [$d08a] call Call_006_652f ld hl, $ff8c @@ -7196,7 +7183,7 @@ Jump_006_6440: pop hl ld a, $0c ld [$d050], a - jp Call_006_4000 + jp ExecuteTitlescreen Jump_006_6449: @@ -7226,7 +7213,7 @@ Jump_006_645a: jr_006_6463: ld [$d06b], a ld a, $1a - call $1e96 + call PlaySE Call_006_646b: Jump_006_646b: @@ -7376,14 +7363,14 @@ Jump_006_655e: call Call_000_0648 call StartTimer ld a, $02 - call $21fb + call Call_000_21fb call $1c01 ld hl, $44c9 ld de, $9800 ld c, $03 call Decompress - call $1e67 - call $0670 + call StopTimer + call Call_000_0670 xor a ld [$d06b], a ld hl, $d067 @@ -7433,7 +7420,7 @@ jr_006_65bf: ld [$d06b], a call Call_006_66cb ld a, $1a - call $1e96 + call PlaySE jr jr_006_658a jr_006_65ce: @@ -7441,7 +7428,7 @@ jr_006_65ce: ld [$d06b], a call Call_006_66cb ld a, $1a - call $1e96 + call PlaySE jr jr_006_658a jr_006_65dc: @@ -7503,7 +7490,7 @@ jr_006_6627: Jump_006_6630: - jp Jump_006_6386 + jp ExecuteConfigurationModeScreen Jump_006_6633: @@ -7514,15 +7501,15 @@ Jump_006_6633: ld [$d06b], a call Call_006_66cb ld a, $1a - call $1e96 + call PlaySE jp Jump_006_658a Jump_006_6648: ld a, $ff - call $1eb4 + call PlaySong ld a, $ff - call $1e96 + call PlaySE jp Jump_006_658a @@ -7532,13 +7519,13 @@ Jump_006_6655: jr nz, jr_006_6664 ld a, [$d067] - call $1eb4 + call PlaySong jp Jump_006_658a jr_006_6664: ld a, [$d068] - call $1e96 + call PlaySE jp Jump_006_658a @@ -9359,7 +9346,7 @@ jr_006_6e96: inc e add hl, de inc e - call nz, Call_006_4000 + call nz, ExecuteTitlescreen nop inc e add e diff --git a/bank_00a.asm b/bank_00a.asm index e11b571..a255b65 100755 --- a/bank_00a.asm +++ b/bank_00a.asm @@ -1,15036 +1,11 @@ SECTION "ROM Bank $00a", ROMX[$4000], BANK[$a] - dec h - nop - ld [de], a - inc bc - inc bc - db $e4 - add $26 - ld h, h - inc [hl] - inc h - jr c, jr_00a_4049 +TitlescreenGfx1: + INCBIN "gfx/titlescreen_tiles_1.2bpp.lz" +TitlescreenGfx2: + INCBIN "gfx/titlescreen_tiles_2.2bpp.lz" - inc e - jr c, @+$3e +INCBIN "baserom.gb", $2888d, $2b4ea - $2888d - jr @+$0a - - jr jr_00a_4024 - - ld [$2408], sp - nop - inc b - ld bc, $4000 - ld bc, $2201 - ld b, c - inc b - ld b, e - ld b, c - pop hl - -jr_00a_4024: - ld b, e - ld b, e - ld [hl+], a - db $e3 - dec bc - rst $20 - ld [c], a - ld [c], a - and [hl] - sbc h - cp [hl] - xor d - sbc h - add b - add b - nop - add b - dec h - nop - ld b, c - jr @+$0a - - ld b, c - ld [$4118], sp - db $10 - jr jr_00a_4043 - - jr @+$12 - -jr_00a_4043: - jr jr_00a_406b - - db $10 - ld b, d - jr nc, @+$12 - -jr_00a_4049: - ld b, c - db $10 - jr nc, @+$43 - - jr nz, jr_00a_407f - - ld [bc], a - jr nc, jr_00a_4072 - - jr nc, jr_00a_407e - - jr nz, jr_00a_405d - - jr nc, @+$22 - - jr c, jr_00a_408a - - rra - rra - rrca - -jr_00a_405d: - rrca - dec h - nop - nop - -jr_00a_4061: - ld [hl], b - ld a, [hl+] - ld h, b - db $10 - ld b, b - ld h, b - rst $00 - ld h, [hl] - ret z - - ld l, l - -jr_00a_406b: - add sp, $48 - ld l, b - ret z - - ld c, h - ret z - - ld b, [hl] - -jr_00a_4072: - add $c4 - jp nz, $22c6 - - call nz, $c801 - call nz, $cc41 - ret z - -jr_00a_407e: - rlca - -jr_00a_407f: - call nz, $fbc4 - ei - ld a, [hl] - rst $38 - ld [bc], a - ld b, $26 - inc bc - inc b - -jr_00a_408a: - rlca - rst $38 - rst $38 - cp $fe - dec h - nop - ld [$3001], sp - jr nc, jr_00a_40b7 - - ld h, c - -jr_00a_4097: - ld hl, $6123 - ld h, c - ld [hl+], a - ld b, e - rlca - jp $8783 - - - add e - add e - add a - rlca - rlca - push bc - nop - ld b, $05 - inc b - jr jr_00a_40cc - - rra - dec [hl] - inc de - add e - nop - ld h, e - dec b - ld [hl], b - jr nz, jr_00a_4097 - -jr_00a_40b7: - ld h, b - ret nz - - ret nz - - add l - nop - jr c, jr_00a_4061 - - nop - ld c, e - inc bc - inc c - jr jr_00a_40d0 - - add hl, de - ld b, c - add hl, de - dec c - nop - dec e - inc h - dec c - -jr_00a_40cc: - nop - dec b - ld b, c - dec c - -jr_00a_40d0: - rlca - nop - dec c - ld b, c - dec c - rlca - ld [bc], a - rrca - add a - adc a - ld a, [hl+] - add a - dec b - push bc - adc a - ld a, l - ld a, l - ld sp, $8439 - nop - ld a, h - ld [de], a - ldh a, [rOBP1] - sbc c - sbc l - dec c - dec b - dec c - rrca - rlca - inc bc - rlca - rlca - inc bc - ld bc, $0303 - ld bc, $0100 - and l - nop - add hl, sp - inc b - stop - jr jr_00a_4102 - -jr_00a_4102: - db $10 - ld b, c - ld [$031c], sp - inc c - ld e, $0c - ld a, [de] - ld b, c - ld c, $1b - nop - dec c - jp $f700 - - - dec b - ld [$f89c], sp - db $fc - ld [hl], b - ld a, b - add hl, hl - nop - inc bc - ldh a, [$f0] - ld [$4a98], sp - add h - inc c - ld b, c - inc b - inc c - inc b - dec b - inc c - inc b - dec c - dec b - add h - ld bc, $0f01 - inc b - rrca - rlca - ld c, $86 - adc [hl] - call nz, $868e - ld c, h - ld a, $7c - ld b, $3c - ld [bc], a - inc bc - add e - ld bc, $0537 - add b - add b - ret nz - - add b - nop - ret nz - - inc hl - ld b, b - dec d - pop bc - ld b, e - inc bc - jp $83c7 - - - add [hl] - add e - add e - add [hl] - ld c, $86 - adc [hl] - ld b, $04 - ld c, $0e - inc c - rrca - rrca - dec c - ld c, $29 - nop - inc b - dec b - inc bc - rst $38 - rst $38 - db $fd - add [hl] - nop - cp c - add hl, de - rlca - rrca - ld [bc], a - ld [bc], a - add d - ld [bc], a - ld b, d - jp nz, $3262 - - ld [$0818], sp - inc b - -Jump_00a_417e: - ld b, $04 - nop - ld b, $06 - ld [bc], a - inc bc - add d - ret nz - - add e - add c - -jr_00a_4189: - ld b, e - ld b, d - ld b, e - ld b, c - rla - inc bc - ld b, c - pop bc - add e - add c - add e - rlca - inc bc - ld [bc], a - rlca - ld c, $06 - inc b - ld c, $0c - inc e - jr jr_00a_41d8 - - or b - ld [hl], b - ldh [$e0], a - ret nz - - add b - dec l - nop - inc bc - ld [bc], a - ld bc, $0706 - cpl - nop - dec c - jr @+$1a - - daa - daa - ld h, c - ld h, c - add d - add d - ld b, d - ld b, d - ld hl, $2f21 - cpl - rst $00 - nop - ld h, h - nop - jr c, jr_00a_4189 - - nop - ld d, b - inc bc - jr jr_00a_41d1 - - jr jr_00a_41e7 - - and h - nop - ld d, h - dec b - adc h - inc c - -jr_00a_41d1: - inc b - adc h - adc [hl] - add h - ld b, c - add h - add [hl] - -jr_00a_41d8: - rlca - call z, $8486 - adc $7e - ld a, h - jr c, jr_00a_421d - - cpl - nop - dec b - ld a, [hl-] - inc a - ld l, e - -jr_00a_41e7: - ld b, a - pop bc - add b - and [hl] - ld bc, $0637 - nop - ld [hl+], a - and d - ld [hl], $36 - ld a, [hl+] - ld a, [hl+] - inc hl - ld [hl+], a - dec b - ld bc, $0101 - ld bc, $0100 - dec [hl] - -Jump_00a_41ff: - nop - inc bc - ld b, $0f - add hl, de - db $10 - rlc d - sbc a - inc b - inc b - rrca - add hl, de - inc de - ld hl, $0085 - ld h, [hl] - inc bc - jr nc, @+$17 - - add hl, de - ld c, $85 - nop - ld a, c - dec c - db $10 - rrca - rra - -jr_00a_421d: - jr z, @+$32 - - ld h, b - ld b, b - pop bc - add c - nop - add h - add d - ld [bc], a - ld bc, $0284 - add hl, de - nop - ld bc, $00c6 - inc a - ld de, $c080 - ld h, b - ld b, b - jr z, @+$32 - - rrca - rra - ld b, $09 - rrca - ld [$040b], sp - inc bc - ld b, $01 - ld bc, $02b0 - sub h - ld [hl+], a - add b - ld c, $e0 - ret nz - - ld d, b - jr nc, @+$1a - - ld [$040c], sp - add d - add h - inc b - ld [hl+], a - ld [de], a - ld [hl+], a - ld b, d - call nz, $dc01 - inc d - nop - ld [bc], a - ld b, $00 - inc b - inc b - ld [$1804], sp - ld [$3050], sp - ret z - - ld hl, sp-$58 - ret c - - ld a, b - ret z - - ldh a, [rSVBK] - ret nz - - and h - ld [bc], a - ld [c], a - ld bc, $0808 - dec h - db $10 - ld b, $11 - ld [$0f0e], sp - inc bc - -Call_00a_427f: - rlca - ld bc, $0388 - ld [$e007], sp - ld b, b - ld b, b - ld h, b - jr nz, @+$62 - - ld [hl], b - jr nz, @-$79 - - nop - ld a, [de] - and h - ld [bc], a - jp hl - - - inc b - inc bc - rlca - rrca - ld e, l - ld a, $c4 - ld [bc], a - and $02 - ld [bc], a - inc b - inc b - add e - inc bc - ld b, b - inc bc - jr nz, @+$22 - - ld b, b - ld b, b - push hl - ld a, a - nop - rst $38 - inc sp - nop - ld b, $01 - nop - inc bc - inc bc - dec b - ld b, $06 - ld h, $04 - ld [bc], a - ld b, $04 - inc b - ld [hl+], a - -Jump_00a_42bd: - ld [bc], a - inc b - inc bc - ld [bc], a - nop - inc bc - inc bc - inc h - ld bc, $00cd - inc d - dec bc - rlca - inc bc - inc bc - rlca - rlca - rrca - ld a, a - rra - cp $fe - db $f4 - ld hl, sp+$23 - nop - dec e - sub b - sub b - db $10 - sub b - sbc b - db $10 - db $10 - jr jr_00a_4301 - - jr @+$11 - - rrca - rlca - rlca - nop - nop - ld sp, $3031 - ld sp, $3061 - jr nc, jr_00a_4351 - - ld h, b - ldh [$c0], a - ldh [$80], a - ret nz - - dec hl - nop - ld [bc], a - cp a - ld a, a - pop hl - adc d - nop - ld l, l - inc c - -jr_00a_4301: - rlca - rlca - ld b, $03 - add e - inc bc - add c - add e - jp $c181 - - - ld b, c - ld b, c - ld b, c - ld b, b - ld h, b - -jr_00a_4311: - ld b, c - jr nz, jr_00a_4344 - - ld bc, $1010 - ld b, c - db $10 - jr jr_00a_435c - - ld [$840c], sp - nop - rra - nop - ld b, $83 - nop - dec h - ld bc, $0101 - jp nc, $1400 - - rlca - rla - rrca - ld [hl], h - jr c, jr_00a_4311 - - ret nz - - nop - add b - ld b, d - add b - nop - ld bc, $c080 - inc hl - ldh a, [rSC] - or b - ldh a, [$d0] - inc h - sub b - ld l, $10 - -jr_00a_4344: - jp $df00 - - - ld [hl+], a - ret nc - - ld [hl+], a - ldh a, [rNR43] - ld [hl], b - ld c, $78 - jr nc, jr_00a_4381 - -jr_00a_4351: - jr c, @+$7a - - jr c, jr_00a_4391 - - ld a, b - db $fd - ld a, [hl] - rst $20 - rst $30 - pop hl - pop hl - -jr_00a_435c: - nop - add [hl] - nop - ld l, l - ld b, $f8 - ldh a, [$9c] - ld [$040c], sp - nop - add h - nop - xor e - ld bc, $0200 - add l - nop - inc l - nop - nop - add h - nop - ld sp, $8041 - nop - nop - nop - ld [hl+], a - add b - nop - ret nz - - and e - nop - -jr_00a_4381: - inc d - ld b, c - ld b, b - ld h, b - ld bc, $4040 - ld [hl+], a - jr nz, jr_00a_4390 - - jr nc, jr_00a_43ad - - nop - jr nc, @+$32 - -jr_00a_4390: - db $10 - -jr_00a_4391: - call nz, $a200 - ld [hl+], a - ld [$0c06], sp - ld [$0c00], sp - inc c - inc b - ld b, $85 - nop - ld hl, $0300 - adc a - nop - or d - nop - ld bc, $0163 - add h - nop - add hl, de - -jr_00a_43ad: - rlca - -jr_00a_43ae: - add h - add h - ld h, e - ld [c], a - add hl, de - add hl, de - ld b, $0e - add h - nop - dec hl - inc de - nop - ld b, b - add b - ldh [$60], a - jr nz, jr_00a_43f1 - - cp b - db $10 - add b - sbc b - ret c - - adc b - adc h - ret z - - ret nz - - call z, $c46c - call nz, Call_00a_6422 - rlca - ld [hl], b - inc h - jr c, jr_00a_440d - - jr nc, @+$1a - - nop - db $10 - rst $00 - nop - scf - rlca - rlca - inc bc - ld b, $0e - cp h - inc e - ldh a, [$f8] - cpl - nop - ld bc, $ffff - adc a - nop - or e - ld bc, $1c1c - ld b, c - -jr_00a_43f1: - ld [de], a - ld a, [de] - inc bc - ld d, $1a - jr jr_00a_4414 - - sub c - ld bc, $41cc - ld [de], a - ld a, [de] - ld bc, $1c1e - inc sp - nop - ld [bc], a - rrca - rrca - jr jr_00a_43ae - - nop - and l - ld [bc], a - ld b, b - ld h, b - -jr_00a_440d: - ld h, b - ld h, $40 - ld [bc], a - add b - ret nz - - add b - -jr_00a_4414: - and h - nop - dec hl - inc b - add c - add b - nop - add c - add c - adc [hl] - nop - ld l, $0e - stop - nop - db $10 - jr jr_00a_443f - - inc e - inc e - ld e, $0a - ld c, $0b - ld bc, $0d0d - add h - nop - rra - ld [bc], a - nop - ld b, $06 - add h - nop - daa - nop - ld bc, $0322 - rlca - -jr_00a_443f: - rlca - inc bc - sub [hl] - rrca - cp $fe - ld a, h - ld a, b - inc hl - nop - ld b, $03 - nop - rla - rrca - ld l, b - ld [hl], b - ret nz - - and [hl] - nop - ld [hl-], a - and l - ld [bc], a - ld [hl+], a - ld bc, $c181 - inc hl - ld b, b - and h - nop - ld b, b - dec c - ldh [$60], a - ldh [$f0], a - ld h, b - ld h, b - ld [hl], b - jr nc, jr_00a_44d9 - - ld [hl], b - jr nc, @+$3a - - jr nc, @+$32 - - inc h - jr c, @+$0f - - inc a - jr c, jr_00a_449c - - inc a - db $76 - ld h, $33 - ld h, e - ld h, b - ld h, c - ret nz - - ld h, b - ldh [$c0], a - and a - nop - or b - inc bc - inc bc - inc bc - inc b - ld b, $a4 - nop - sbc d - inc b - jr jr_00a_44a5 - - db $10 - jr nc, jr_00a_44a0 - - rst $00 - nop - ld [hl], e - inc c - ld [hl], b - ldh [$58], a - jr c, jr_00a_44b5 - - inc c - ld b, $0e - -jr_00a_449c: - rlca - ld b, $03 - rlca - -jr_00a_44a0: - rlca - jr z, jr_00a_44a6 - - ld c, $07 - -jr_00a_44a5: - inc bc - -jr_00a_44a6: - rlca - ld b, $0e - ld b, $1c - ld c, $3c - inc e - ld e, b - jr c, jr_00a_44c5 - - inc c - ld b, $8b - nop - -jr_00a_44b5: - daa - ld b, d - ld bc, $0003 - inc bc - xor a - nop - dec b - dec b - ld b, b - ret nz - - ld b, b - ld h, b - ld h, c - ld h, b - -jr_00a_44c5: - ld h, d - ld h, d - add hl, bc - ld h, [hl] - ld b, h - ld h, h - call nz, Call_00a_6464 - call nz, $c4e2 - call nz, $c224 - inc b - add e - jp nz, $c380 - -jr_00a_44d9: - jp $8141 - - - pop bc - and e - ld [bc], a - ld e, d - nop - ret nz - - jp Jump_00a_6800 - - - ld b, $38 - jr jr_00a_44f5 - - inc e - ld c, $0e - ld b, $c4 - ld [bc], a - ld e, [hl] - ld bc, $0100 - rst $00 - ld [bc], a - -jr_00a_44f5: - or c - ld b, $40 - ld b, b - ld h, b - jr nz, jr_00a_451c - - jr nc, jr_00a_4512 - - add e - nop - ld e, c - adc [hl] - ld [bc], a - rst $38 - inc c - ldh [rP1], a - ldh a, [$f8] - jr jr_00a_4517 - - inc b - ld c, $04 - ld b, $02 - rlca - ld [bc], a - -jr_00a_4512: - ld b, c - inc bc - add d - ld a, [bc] - add e - -jr_00a_4517: - add d - add a - add [hl] - ld b, $0c - -jr_00a_451c: - ld c, $06 - inc c - ld b, $06 - call nz, Call_00a_7c02 - ld a, [de] - ld bc, $4040 - ldh [$60], a - ld [hl], b - ld [hl], b - jr nc, jr_00a_45a6 - - ld l, h - jr c, @+$28 - - inc [hl] - ld d, $36 - ld [hl-], a - dec de - ld de, $3119 - jr jr_00a_456b - - jr c, @-$1e - - ldh a, [$c0] - ldh [$8b], a - nop - ld a, [hl] - ld bc, $c3c1 - call nz, $1402 - add h - nop - sbc [hl] - ld bc, $1818 - inc hl - nop - inc b - inc a - inc a - ld h, d - ld b, [hl] - jp $8122 - - - inc b - add b - add c - ret nz - - add c - add c - and [hl] - ld [bc], a - reti - - - ld b, $40 - ldh [$60], a - ldh [rNR41], a - ld h, b - ld [hl], b - add e - -jr_00a_456b: - inc bc - or h - inc bc - jr nc, jr_00a_45a8 - - db $10 - db $10 - and e - inc bc - cp e - ld h, $08 - ld [$0888], sp - ld [$9088], sp - adc b - adc b - sub b - adc b - ld [hl+], a - sub b - ld bc, $9090 - adc c - ld bc, $c7be - ld bc, $11c7 - ld bc, $7901 - ld sp, hl - cpl - dec e - dec b - rrca - rlca - rlca - ld b, $06 - inc bc - ld b, $06 - inc bc - inc bc - inc bc - push bc - ld [bc], a - ld a, l - add e - ld bc, $0026 - -jr_00a_45a6: - add c - add h - -jr_00a_45a8: - ld bc, $0331 - add b - add b - ld b, b - add b - jp $2202 - - - ld [bc], a - ld h, b - ld b, b - nop - and e - nop - ld a, [de] - inc bc - and b - ldh a, [$a0] - ret nz - - ld [hl+], a - ret nc - - rrca - ld a, b - ld [hl], b - jr nc, jr_00a_463d - - inc a - jr c, jr_00a_45e2 - - inc a - rra - ccf - inc sp - ld sp, $70f0 - ldh a, [$e0] - add l - ld [bc], a - ld [hl], b - rlca - ld [bc], a - ld bc, $0f16 - inc [hl] - jr c, @+$62 - - ld b, b - add e - ld [bc], a - inc h - ld b, $82 - -jr_00a_45e2: - add c - add e - add e - jp nz, $4343 - - ld b, c - ld b, e - ld b, b - ld bc, $c040 - and h - nop - xor a - dec b - add c - add c - pop bc - add c - ld b, c - ld h, c - -jr_00a_45f8: - inc hl - ld hl, $1002 - and c - -jr_00a_45fd: - and b - add e - nop - or $85 - ld [bc], a - sub c - ld a, [bc] - jr jr_00a_4626 - - rra - ccf - rra - ld [hl], b - jr nc, jr_00a_45fd - - ldh [$c0], a - ldh [$2f], a - nop - inc bc - ld a, [$e8fc] - ldh a, [$d3] - nop - push bc - dec c - inc bc - ld [bc], a - add [hl] - inc b - inc c - add h - adc h - adc b - ret c - - adc b - ld e, b - -jr_00a_4626: - ret nc - - ldh [rSVBK], a - add h - ld [bc], a - jr @-$7a - - nop - ld de, $0283 - ld [hl], a - add l - ld [bc], a - sbc $05 - ld e, $0c - inc e - inc c - ld [$411c], sp - -jr_00a_463d: - inc e - jr jr_00a_4647 - - add hl, sp - jr @+$3b - - add hl, de - ld sp, $1119 - -jr_00a_4647: - add hl, sp - ld b, c - add hl, sp - ld sp, $028b - inc b - add e - inc b - ld h, h - and a - nop - jr nc, jr_00a_45f8 - - ld bc, $0327 - ldh [$c0], a - ld a, b - ld a, b - add l - inc bc - xor $1c - inc c - -jr_00a_4661: - adc b - adc h - adc b - adc b - adc h - ret z - - adc h - add h - call z, $ccc4 - ld l, h - call nz, Call_00a_64cc - db $e4 - ld h, h - ld h, [hl] - ld h, h - ld [hl], $64 - ld l, h - ld [hl], $3c - ld a, $1e - ld a, $3e - inc h - ld e, $01 - rrca - ld e, $41 - rra - rrca - ld b, $0c - inc e - ld a, b - inc a - ldh a, [$f8] - ret nc - - adc d - inc bc - and l - inc b - ldh [$f0], a - cp c - jr @+$0a - - ld b, c - add hl, de - add hl, bc - inc c - add hl, de - ld d, c - ld sp, $f1e3 - ld [bc], a - add c - ld bc, $c302 - ld [c], a - and d - ld [hl], d - inc hl - ld [hl-], a - db $10 - inc [hl] - ld a, $68 - db $fc - ret z - - add sp, $08 - adc b - ld [$468c], sp - add [hl] - cp $fe - db $d3 - and $c2 - add [hl] - ld [bc], a - reti - - - dec b - dec bc - rlca - cp [hl] - ld a, [hl] - db $f4 - ld hl, sp-$39 - inc bc - db $10 - ld [hl+], a - ret nz - -jr_00a_46ca: - and e - inc b - ld hl, $03a8 - ld b, e - ld b, $00 - nop - ld b, $0f - jr @+$13 - - jr nc, jr_00a_4661 - - ld bc, $8341 - nop - sbc [hl] - jr jr_00a_46e0 - -jr_00a_46e0: - jr jr_00a_46ca - - ld hl, sp+$58 - jr c, jr_00a_4702 - - ld [$0c08], sp - ld c, $0e - dec e - dec c - inc c - inc e - dec sp - add hl, de - ld a, [de] - dec sp - ld [hl-], a - ld [hl], d - db $e4 - ld h, [hl] - ld h, [hl] - inc hl - call nz, $8404 - add [hl] - add h - ld [bc], a - ld b, $87 - nop - -jr_00a_4702: - jr z, jr_00a_470c - - nop - ld bc, $7878 - add h - call z, $8606 - -jr_00a_470c: - add d - and e - ld [bc], a - add hl, de - nop - inc bc - adc e - nop - or b - ld [bc], a - cp a - ld a, a - and b - xor [hl] - ld [bc], a - rst $38 - rlca - ld c, $1c - dec bc - ld e, $09 - dec e - add hl, bc - -jr_00a_4724: - dec c - and e - inc b - adc [hl] - ld a, [hl+] - nop - inc bc - inc b - nop - ld b, $02 - ld b, c - rlca - inc bc - nop - rlca - ld b, c - ld [bc], a - ld b, $00 - ld b, $ca - ld [bc], a - rst $18 - rlca - inc bc - rlca - adc $8f - cp $fe - jr c, jr_00a_47c1 - - dec h - nop - dec d - ld a, $3c - ld h, [hl] - ld b, [hl] - ld b, e - add e - add c - add e - add e - add c - ld bc, $8181 - ld bc, $0180 - ld de, $0000 - db $10 - ld [$c310], sp - inc bc - ret nz - - ld bc, $181c - ld b, c - jr jr_00a_4783 - - nop - jr jr_00a_4790 - - nop - dec c - ld b, $00 - ld e, $1e - rra - ld e, $1a - dec de - add hl, de - add hl, de - cp b - jr nc, @-$0e - - ldh [$c5], a - ld bc, $8535 - -Call_00a_477e: - inc bc - ld c, h - add hl, bc - jr nc, @+$22 - -jr_00a_4783: - inc e - jr c, jr_00a_4793 - - ld e, $03 - inc bc - inc b - inc b - ld b, c - ld [$010c], sp - inc c - -jr_00a_4790: - ld [$05a5], sp - -jr_00a_4793: - cp [hl] - and a - ld bc, $006c - ld h, b - add e - inc bc - ld d, b - ld [bc], a - ld h, b - ld h, b - jr nz, jr_00a_4724 - - inc bc - sbc $a3 - ld b, $a7 - dec bc - jr nc, jr_00a_47c1 - - db $10 - jr jr_00a_47cc - - jr jr_00a_482d - - ccf - ret nc - - ldh [$80], a - ret nz - - xor c - nop - ld [hl-], a - add e - ld [bc], a - pop de - dec d - rlca - rlca - inc b - ld b, $00 - inc b - inc b - -jr_00a_47c1: - ld [bc], a - ld b, $02 - add d - ld [bc], a - ld bc, $8282 - add c - pop bc - add c - -jr_00a_47cc: - nop - pop bc - ld b, c - ret nz - - inc h - ld b, b - nop - ret nz - - adc c - ld b, $d3 - dec b - ret nc - - ldh [$b8], a - ld a, h - dec e - dec c - and e - inc b - sbc h - ld [bc], a - rlca - inc bc - ld bc, $0488 - inc hl - add $03 - adc e - nop - inc bc - jp $cf02 - - - ld [bc], a - ld e, $0e - ld c, $85 - ld [bc], a - pop de - and e - ld [bc], a - daa - nop - nop - and h - ld [bc], a - ld hl, sp+$03 - ld b, b - ld b, b - ld h, b - ld [hl], b - and h - ld [bc], a - or a - rlca - add hl, de - ld [$0f08], sp - rlca - rlca - ld [bc], a - ld bc, $018d - ld h, [hl] - and e - ld bc, $003e - add [hl] - add e - ld bc, $0b78 - add h - call z, $8084 - call z, $c8cc - ld c, h - ret z - - add sp, $48 - ld c, b - ld [hl+], a - ld l, b - ld [$6828], sp - -jr_00a_482d: - ld a, b - jr c, jr_00a_4860 - - jr c, jr_00a_484a - - jr nc, jr_00a_4864 - - ld h, $10 - ld b, $31 - db $10 - or d - add hl, sp - rst $28 - rst $28 - ld b, $a6 - inc bc - and l - add hl, bc - ld h, e - ld h, e - ld [hl], a - ld [hl], a - ld a, $3e - inc e - inc e - -jr_00a_484a: - ld [hl], $36 - inc hl - ld h, e - and e - ld b, $a0 - ld [bc], a - jr nc, jr_00a_4884 - - ld [hl], b - ld b, c - jr nc, jr_00a_48b8 - - inc c - jr nc, jr_00a_487b - - ld [hl], b - jr nc, jr_00a_48be - - add c - add c - -jr_00a_4860: - ld b, d - ld b, d - inc h - inc h - -jr_00a_4864: - jr jr_00a_487e - - rst $00 - rlca - or a - rst $08 - inc b - xor l - dec b - or b - ld [hl], b - inc e - ld [$0406], sp - adc c - ld bc, $0b1e - add c - ld bc, $8301 - -jr_00a_487b: - rst $00 - add e - rst $28 - -jr_00a_487e: - add $7e - ld a, [hl] - inc a - jr c, jr_00a_482d - -jr_00a_4884: - nop - inc c - jp $3801 - - - push bc - dec b - and [hl] - rst $38 - dec b - ld bc, $3601 - scf - ld c, e - ld a, h - ld b, d - cp a - ret nz - - ld a, [bc] - ld e, a - ld h, b - ld a, a - ld h, b - cpl - jr nc, jr_00a_48ce - - ld [hl], $29 - ccf - ld de, $1f41 - db $10 - ldh [$28], a - rra - add hl, bc - rrca - rlca - rlca - inc bc - inc bc - dec c - ld c, $17 - jr jr_00a_48e3 - - jr nc, jr_00a_48f5 - - jr nz, @+$81 - -jr_00a_48b8: - ld b, b - cp a - ret nz - - rst $38 - add b - rst $30 - -jr_00a_48be: - adc b - or a - ret z - - ld e, e - ld l, h - dec sp - inc a - inc e - rra - inc hl - ccf - ld b, c - ld a, a - ld a, $3e - rlca - -jr_00a_48ce: - rlca - dec de - inc e - add e - nop - ld h, $15 - ld e, a - ld h, b - ld a, a - ld b, b - ld a, e - ld b, [hl] - ld a, a - ld b, c - ld e, a - ld h, c - ld l, a - ld [hl], d - rst $38 - db $fc - -jr_00a_48e3: - sub a - ld hl, sp-$75 - db $fc - adc a - rst $38 - ld [hl], b - ld [hl], b - inc hl - nop - add l - nop - ld b, b - add e - nop - ld c, b - ld b, c - rst $38 - -jr_00a_48f5: - add b - rrca - rst $30 - adc b - cp a - ret z - - ld e, a - ld l, b - dec sp - inc a - dec e - ld e, $13 - rra - ld [$070f], sp - rlca - add l - nop - ld b, b - inc bc - ld a, a - ld [hl], b - or a - ret z - - ld b, c - rst $38 - add b - ld de, $c0bf - ld l, a - ld [hl], b - ccf - jr nz, jr_00a_4989 - - ld [hl], b - ld d, a - ld a, b - ld c, l - ld a, [hl] - inc hl - ccf - ld de, $0e1f - ld c, $a6 - nop - add b - dec d - ld [de], a - db $fd - dec bc - rst $38 - add hl, bc - rst $38 - inc bc - rst $38 - dec d - rst $38 - add hl, bc - db $fd - dec bc - cp $02 - ld a, [$ec06] - inc e - ldh a, [$f0] - ld [$f822], sp - ldh [rNR44], a - inc e - inc e - cp d - and [hl] - cp $62 - sbc $32 - xor $1a - cp $0a - db $fc - inc b - db $fc - ld d, h - ld a, [$fe56] - ld d, d - cp $02 - cp $82 - or $4a - cp $7a - -jr_00a_495f: - ld a, [$fc46] - add h - ld e, $1e - ccf - ld hl, $0083 - ld c, b - and e - nop - or h - add hl, bc - ccf - jr nz, @+$31 - - jr nc, jr_00a_498a - - jr jr_00a_4994 - - db $10 - cpl - jr nc, jr_00a_49bc - - ccf - jr nz, jr_00a_4989 - - cpl - jr nc, jr_00a_495f - - ldh [$da], a - ld a, [hl-] - rst $30 - dec c - rst $38 - dec b - ld sp, hl - rlca - rst $38 - -jr_00a_4989: - inc bc - -jr_00a_498a: - ld b, d - cp $52 - dec c - ei - rlca - db $fd - rlca - ld sp, hl - cpl - -jr_00a_4994: - pop af - sbc a - and d - cp $e4 - db $fc - jr c, @+$3a - - xor c - nop - ld b, b - ld bc, $56fa - ld b, c - rst $38 - -jr_00a_49a4: - ld d, c - ld b, c - ei - dec b - dec bc - db $fd - daa - or $0e - db $ec - inc e - ld a, [c] - cp $e1 - rst $38 - ld a, $3e - and l - nop - jr nz, @+$03 - - ld hl, sp+$08 - ld b, d - -jr_00a_49bc: - db $fc - inc d - and h - nop - or $00 - inc d - and e - nop - xor $07 - call c, $e23c - cp $42 - ld a, [hl] - inc a - inc a - and e - nop - ld h, b - ld bc, $30d0 - ld b, c - ld hl, sp+$08 - ld [$54fc], sp - cp $56 - db $fd - ld d, a - rst $38 - dec b - rst $38 - add h - ld bc, $0433 - add sp, $18 - ldh a, [$f0] - ld d, b - xor b - nop - dec e - inc bc - cp $0e - rst $30 - xor l - ld b, c - rst $38 - and l - ld b, $fd - rlca - cp $06 - db $f4 - ld c, h - ld a, [$00a6] - sub l - inc bc - jr c, jr_00a_4a3c - - nop - nop - adc l - nop - and b - ld bc, $06fa - ld b, d - db $fc - inc b - inc bc - ld a, [$ee06] - ld e, $85 - nop - cp d - rlca - nop - nop - add b - add b - ldh [$60], a - ret nc - - jr nc, jr_00a_49a4 - - ld bc, $9344 - nop - call z, $01ab - ret nz - - add a - nop - ld b, h - nop - ld a, [hl] - ld b, c - ld b, c - ld a, a - ld a, [bc] - ld b, c - ld e, a - ld h, d - ccf - inc h - ccf - jr c, jr_00a_4ab8 - - ld a, [hl] - cp l - -jr_00a_4a3c: - jp $ff4d - - - nop - ld bc, $302f - and e - ld bc, $0994 - adc e - db $fc - adc a - cp $91 - rst $38 - sub d - cp $6c - ld l, h - inc sp - nop - add hl, bc - ld bc, $0601 - rlca - dec sp - inc a - ld a, a - ld b, h - ei - add h - ld b, d - rst $38 - add b - add e - nop - ld a, [bc] - ld b, e - rst $38 - add b - ld bc, $c0bf - add e - nop - add sp, $09 - cpl - jr nc, jr_00a_4aac - - inc a - daa - ccf - db $10 - rra - rrca - rrca - cpl - nop - inc bc - cpl - jr nc, jr_00a_4a9d - - db $10 - and h - ld bc, $0056 - ld a, [hl] - ld b, c - add c - rst $38 - ld bc, $7e7e - cpl - nop - and e - nop - ld a, [bc] - inc bc - db $ec - inc e - ret nc - - jr nc, jr_00a_4ada - - ldh [rNR41], a - inc bc - ld h, b - and b - ret nz - - ret nz - - dec hl - -jr_00a_4a9d: - nop - and e - ld bc, $8940 - nop - ldh a, [$0b] - ld l, a - ld [hl], d - rst $28 - or c - rst $30 - sbc c - cp e - -jr_00a_4aac: - call Call_00a_477e - ld e, a - ld h, b - add l - ld [bc], a - add b - ld bc, $080f - add l - -jr_00a_4ab8: - nop - ldh a, [$09] - cpl - -jr_00a_4abc: - jr nc, jr_00a_4b1a - - ld h, e - ld d, e - ld l, a - ld c, h - ld a, h - ld [hl], b - ld [hl], b - jr z, jr_00a_4ac7 - -jr_00a_4ac7: - adc d - ld [bc], a - dec b - ld bc, $c3bd - sub c - ld [bc], a - adc [hl] - inc bc - nop - nop - db $fc - inc b - and e - ld [bc], a - add d - dec b - ret nc - -jr_00a_4ada: - jr nc, jr_00a_4abc - - ld h, b - add b - add b - scf - nop - add a - nop - and b - inc bc - cp $0a - rst $38 - add hl, bc - and e - nop - adc h - inc bc - jp c, $fc36 - - inc c - ld b, h - db $fc - inc b - dec bc - cp $06 - db $fd - dec bc - db $fd - inc bc - ei - rlca - db $fc - db $fc - db $10 - ldh a, [$d1] - inc bc - ld b, l - dec c - ld l, a - ld [hl], b - sbc a - ldh a, [$97] - ld hl, sp+$4b - ld a, h - daa - ld a, $11 - rra - rrca - rrca - inc sp - nop - add h - ld bc, $0a40 - sbc b - -jr_00a_4b1a: - db $f4 - ld c, h - ld a, [$fe46] - ld c, $75 - db $db - rst $28 - ld sp, $ff42 - ld de, $df01 - ld hl, $02a5 - ld h, b - adc c - inc bc - ld b, b - inc bc - rst $38 - rlca - db $fd - rlca - ld b, c - rst $38 - ld d, l - rlca - db $fd - ld d, a - rst $30 - ld c, $6b - sbc h - rst $38 - ldh a, [rOBP0] - rst $38 - nop - rlca - ccf - ret nz - - rst $28 - ldh a, [rNR31] - inc e - ld b, $07 - xor l - inc bc - ld a, [hl+] - rrca - ret nz - - ret nz - - ldh a, [$30] - ld hl, sp+$48 - db $fc - inc h - ld a, [$fc26] - inc b - ld a, b - ret z - - ld hl, sp+$28 - ld b, e - ldh a, [rNR10] - inc de - ld hl, sp+$18 - db $fc - inc h - ld a, d - add $01 - ld bc, $6362 - sub d - di - adc a - rst $38 - sbc a - ld hl, sp-$51 - ldh a, [$5f] - ld h, b - add a - nop - ld a, [hl+] - add hl, bc - cp a - call nz, Call_00a_427f - ld e, a - ld h, d - ld l, $33 - ld e, $1e - add e - ld bc, $0162 - cp $0e - add e - ld bc, $0304 - rst $38 - dec b - ei - rlca - add e - nop - or h - inc bc - db $fd - rlca - push af - rrca - and e - nop - ld d, [hl] - inc bc - ld a, [c] - cp $0c - inc c - or e - inc bc - inc [hl] - ld bc, $607f - ld b, c - cp a - ret nz - - rlca - ld d, a - ld l, b - ccf - jr c, jr_00a_4c01 - - ld a, [hl] - ccf - ccf - add e - nop - ld h, b - ldh [$39], a - rra - jr jr_00a_4bfe - - jr nz, jr_00a_4c00 - - ld [hl+], a - ld a, a - ld b, c - ld a, a - ld c, b - ld a, a - ld b, h - rst $38 - ret nz - - rst $38 - pop bc - rst $38 - and d - xor a - ret nc - - ld e, a - ld h, c - ld [hl], $3b - inc c - rrca - inc bc - inc bc - jr nc, jr_00a_4bda - -jr_00a_4bda: - nop - ld bc, $8f13 - ret z - - scf - ld a, $0f - scf - ld a, b - dec a - ld e, $13 - inc c - ld b, b - cp a - dec a - ld a, [hl] - inc hl - inc e - ld b, $0f - add d - ld e, a - ld bc, $0007 - ld bc, $0287 - cp [hl] - ld bc, $0605 - ld b, c - dec bc - -jr_00a_4bfe: - inc c - ld b, c - -jr_00a_4c00: - rla - -jr_00a_4c01: - jr jr_00a_4c0c - - scf - jr c, jr_00a_4c55 - - ld a, b - sbc a - ldh [$60], a - ld a, a - dec e - -jr_00a_4c0c: - ld e, $a5 - ld [bc], a - or [hl] - ldh [$29], a - ld a, [hl+] - ld a, $05 - ld a, e - ld e, a - ld h, c - ccf - ld b, b - ld e, a - ld h, d - dec sp - ld h, h - rra - db $10 - ld b, a - ld e, b - inc de - inc a - ld e, a - ld h, b - xor a - ret nc - - db $fd - add [hl] - ld a, a - add c - ld a, $41 - ld e, a - ld h, c - ld a, [hl+] - ld a, $e6 - and $df - add hl, sp - ei - dec c - rst $30 - dec c - ld a, [$4206] - cp $a2 - ld de, $06fa - cp $0e - pop af - ld e, a - pop af - rra - ld [c], a - ld a, $e2 - cp $24 - inc a - jr jr_00a_4c68 - - add b - add b - ld b, c - ld b, b - ret nz - -jr_00a_4c55: - xor c - ld [bc], a - call nz, $fe03 - ld b, $fd - rlca - ld b, d - rst $38 - dec b - add e - ld bc, $0976 - ldh [$e0], a - inc a - inc a - -jr_00a_4c68: - ld e, d - ld h, [hl] - ld a, [hl] - ld b, d - cp l - jp $ff43 - - - sub l - ld b, c - rst $38 - add c - dec bc - rst $38 - adc c - cp l - set 7, a - jp $667e - - - ld e, d - ld a, [hl] - inc a - inc a - dec l - nop - add hl, de - ldh a, [$f0] - db $fc - inc c - ld_long a, $ff06 - inc bc - rst $38 - ld d, e - ei - ld d, a - cp $06 - ld sp, hl - cpl - cp $fe - ldh a, [$f0] - add sp, -$28 - db $f4 - inc l - db $ec - inc d - and h - inc b - inc l - inc b - daa - ld sp, hl - ld c, a - ld sp, hl - adc a - ld b, c - ld sp, hl - rrca - dec b - or $0e - add sp, -$08 - db $10 - ldh a, [$8f] - inc bc - ld l, h - inc h - jr jr_00a_4cb7 - -jr_00a_4cb7: - nop - call z, $ac05 - inc c - nop - ld [hl], b - ld [hl], b - call z, Call_00a_7afc - add [hl] - cp $82 - cp l - ld b, e - rst $38 - ld bc, $02ad - ld e, b - ld bc, $fc04 - add e - ld bc, $05be - ld e, $1e - ld hl, $5e3f - ld h, c - ld b, c - rst $18 - ldh [rTIMA], a - ld [hl], a - -jr_00a_4cde: - ld a, h - ld c, a - ld [hl], b - rst $18 - ldh [$83], a - ld [bc], a - ld h, b - dec bc - cp a - call nz, $c1be - sbc a - ldh [$65], a - ld a, [hl] - inc a - ccf - rlca - rlca - push bc - ld bc, $0161 - ld a, a - ld b, e - ld b, c - rst $38 - add e - inc bc - rst $38 - jp $4f7f - - - ld b, d - ld a, a - ld c, d - inc de - rst $38 - jp z, $88ff - - rst $38 - add h - rst $38 - rst $38 - ld a, a - ld a, a - ldh [$80], a - ld hl, sp+$60 - cp $78 - ld a, a - ld a, $7f - ccf - ld b, c - ccf - rra - ld b, c - rra - rrca - ld b, c - ccf - rra - -jr_00a_4d22: - ld [$3f7f], sp - ld a, a - ld a, $fe - ld a, b - ld hl, sp+$60 - ldh [$84], a - inc bc - dec hl - dec b - ld [hl], c - ld [hl], c - ld [hl], a - ld c, [hl] - ld a, a - ld b, b - ld b, c - ccf - jr nz, jr_00a_4cde - - ld bc, $a366 - inc bc - ld e, a - inc b - ld b, b - ld [hl], a - ld c, h - ld [hl], e - ld [hl], e - add h - ld [bc], a - ret nz - - ld b, $00 - rrca - inc bc - rra - rrca - inc sp - rra - ld b, c - ld l, l - inc sp - nop - di - ld b, d - ld a, a - rst $38 - nop - ld a, a - ld b, c - ld a, a - ccf - add e - ld b, $2c - ldh [rNR44], a - rrca - inc bc - inc bc - nop - add hl, de - add hl, de - ld a, $27 - ld a, a - ld h, c - cp $83 - ld a, a - ld b, d - ccf - ld hl, $2f3e - ccf - jr c, jr_00a_4d96 - - dec h - dec de - dec d - rra - db $10 - cpl - jr c, jr_00a_4dd6 - - ld l, [hl] - xor c - reti - - - ret nc - - or b - ld h, b - ld h, b - add a - ld [bc], a - cp [hl] - inc de - inc c - rrca - dec d - ld a, [de] - inc l - inc sp - ld d, h - ld l, a - db $e3 - cp a - db $ed - cp a - -jr_00a_4d96: - or $9f - ld a, l - ld c, a - ccf - inc hl - rra - jr jr_00a_4d22 - - dec b - cp $e0 - dec hl - dec de - nop - cpl - dec de - rst $38 - rlca - cp a - ld a, [hl] - rst $30 - rra - ld h, c - ccf - call z, $de73 - ld l, a - rst $08 - ld a, l - call $cc7f - ld a, a - ld l, h - ccf - ld h, b - ccf - jr nc, jr_00a_4dde - - ld e, $0f - rrca - ld bc, $7e7e - ld e, d - ld h, [hl] - inc a - inc a - db $76 - ld l, [hl] - and c - rst $18 - rst $38 - rst $38 - ld b, d - rst $38 - add c - ld bc, $ffff - ld b, c - -jr_00a_4dd6: - and c - rst $18 - ld bc, $7e42 - ld b, c - and c - rst $18 - -jr_00a_4dde: - ld bc, $ffff - dec l - nop - inc bc - cp $fe - rst $38 - ld b, c - ld b, c - rst $38 - ld c, c - dec b - rst $38 - ld b, c - rst $38 - ld c, a - rst $38 - rst $08 - inc hl - db $fc - ld bc, $0101 - ld b, c - inc bc - ld [bc], a - inc bc - rlca - inc b - ld a, a - ld a, h - ld b, c - rst $38 - add b - ld bc, $407f - adc d - ld b, $4c - ld [$7e41], sp - ld b, [hl] - ld a, b - ld a, b - ld [hl], b - ld [hl], b - ldh a, [$90] - ld b, d - ldh a, [rNR10] - ld [bc], a - add sp, $18 - cp $a3 - ld [bc], a - ld d, a - ld [bc], a - inc bc - db $fc - inc c - ld b, d - ldh a, [rNR10] - inc de - ldh [rNR41], a - ldh [$a0], a - ld h, b - ld h, b - or e - inc bc - rst $38 - or h - db $fc - ret c - - sbc $ec - rst $28 - or $f7 - ld a, [$fcfe] - and a - ld b, $6e - inc b - or $fc - call z, $b8f8 - and e - ld b, $7b - and [hl] - inc b - add c - inc de - cp $e2 - cp $12 - rst $38 - add hl, bc - cp a - ld c, c - rst $38 - adc c - rst $38 - add hl, bc - cp $12 - cp $e2 - db $fc - inc b - ld hl, sp+$18 - adc e - inc bc - ld l, [hl] - inc de - jp Jump_00a_77c3 - - - push af - cp [hl] - jp z, $c47c - - or $ce - rst $38 - add l - ld [hl], a - adc l - rst $28 - add hl, de - cp [hl] - ld [hl], d - db $fc - call nz, $0789 - sbc b - rlca - rlca - rlca - ld [$100f], sp - rra - inc h - ccf - push bc - ld b, $4d - ld bc, $7f52 - call nz, $e900 - ld b, $7f - ld b, h - ld a, a - sbc a - rst $38 - ldh [$e0], a - add e - inc b - call nz, $0741 - inc b - ld de, $1417 - ccf - inc l - ccf - cpl - inc a - cpl - inc l - ccf - scf - ccf - dec de - -jr_00a_4ea5: - inc e - rrca - rrca - ld [bc], a - inc bc - and e - ld bc, $0762 - rrca - rrca - rst $38 - ld a, a - ret nz - - rst $38 - cp [hl] - pop bc - ld b, c - cp l - jp nz, $8307 - - db $fc - sbc a - ldh [$af], a - ret nc - - or a - ret z - - ld b, c - xor a - ret nc - - add hl, bc - sbc [hl] - pop hl - sbc c - and $87 - ld hl, sp-$40 - rst $38 - rst $38 - ld a, a - cpl - nop - ld [bc], a - jr jr_00a_4eed - - ccf - add e - ld b, $83 - ld [$7e82], sp - ld b, d - ccf - ld hl, $2f3f - jr nc, jr_00a_4f13 - - and [hl] - inc b - ret nz - - db $10 - ldh [rHDMA1], a - ld [hl], c - ld l, [hl] - ld e, h - ld d, [hl] - -jr_00a_4eed: - ld l, d - ld a, [hl] - ld h, [hl] - ld l, d - ld d, [hl] - ld h, [hl] - ld a, [hl+] - adc d - adc [hl] - dec b - rlca - and a - ld [bc], a - or [hl] - inc bc - rst $38 - rst $38 - cp l - jp $0685 - - - xor $03 - jp Jump_00a_7eff - - - ld a, [hl] - scf - nop - rlca - jr jr_00a_4f49 - - ld l, [hl] - ld a, [hl] - db $76 - rst $08 - xor a - rst $18 - -jr_00a_4f13: - add e - ld b, $e9 - inc b - ld a, [hl] - rst $38 - ld a, [hl] - ld a, [hl] - jr jr_00a_4ea5 - - dec b - ld e, a - add hl, bc - pop bc - pop bc - ld a, [c] - or e - ld l, e - ld e, d - ld e, a - ld h, a - ccf - cpl - ld [hl+], a - rra - db $10 - add hl, de - ld a, a - ld [hl], d - cp a - jp nc, Jump_00a_797f - - rra - rra - rla - rra - ccf - cpl - ld sp, $0131 - ld bc, $06c5 - cp a - inc bc - inc a - ccf - ld a, [hl] - ld b, e - ld b, c - ld a, a - ld d, c - -jr_00a_4f49: - ld bc, $91ff - ld b, c - rst $38 - add c - dec c - cp [hl] - jp Jump_00a_7f7c - - - ld h, b - ld a, a - ldh a, [$9f] - ld hl, sp-$71 - ld a, a - ld b, a - jr c, jr_00a_4f96 - - add l - ld [$05be], sp - ld a, $3f - ld a, l - ld b, e - ld a, a - ld l, c - ld b, c - rst $38 - xor b - rrca - rst $38 - add b - rst $38 - add c - ld a, a - ld b, e - ld a, $3f - ld hl, $123f - rra - rrca - inc c - rlca - rlca - cp a - ld [$0b00], sp - ld [hl], a - daa - ld a, b - ld e, a - jr nz, @+$41 - - ld a, b - ld a, a - ld a, h - ld b, a - cp [hl] - di - ld b, c - cp $9b - dec b - cp [hl] - di - ld a, h - ld h, a - jr c, @+$41 - -jr_00a_4f96: - add a - ld [$83d6], sp - ld bc, $015e - rst $30 - and a - sub e - add hl, bc - ld [hl+], a - inc e - inc hl - ccf - dec d - ld e, $0d - ld c, $07 - rlca - ld d, a - ld d, a - inc a - ccf - ld l, $3b - ld e, a - ld h, l - ld a, a - ld l, l - ei - db $dd - rst $38 - pop bc - cp [hl] - db $e3 - cp h - rst $38 - ld h, b - ld a, a - jr nz, @-$74 - - add hl, bc - dec [hl] - and e - ld b, $a6 - dec b - ld [$0ef8], sp - cp $11 - rst $38 - and l - ld [bc], a - ld c, l - inc bc - ld [bc], a - cp $0e - cp $83 - add hl, bc - sub b - rlca - rla - ld sp, hl - -jr_00a_4fdb: - ccf - pop hl - rst $38 - pop af - ld c, $0e - rst $00 - rlca - sbc l - and e - rlca - adc $00 - add d - ld b, c - cp $86 - rra - cp $4e - cp $32 - cp $04 - db $fc - db $ec - db $fc - add sp, $38 - ret nc - - jr nc, jr_00a_4fdb - - ldh [$60], a - ld h, b - rst $10 - or a - sbc a - rst $38 - cp e - db $ed - ld a, a - ld e, h - ld e, e - ld l, l - rst $38 - rst $38 - ei - rlca - ei - ld h, d - db $fd - ldh [$31], a - ld e, [hl] - ld a, a - ld a, a - ld l, a - scf - ccf - rra - rra - ld a, [bc] - dec c - rlca - rlca - ld c, $0e - db $dd - db $d3 - rst $28 - pop af - cp a - pop hl - rst $18 - pop hl - cp $c2 - or $ce - rst $38 - ld sp, hl - ld a, a - pop af - xor [hl] - ld a, [hl] - or h - ld a, h - ld l, d - cp $de - ld a, [c] - cp $e2 - call c, $38e4 - jr c, jr_00a_5045 - - rlca - rra - rra - dec sp - dec l - sub e - add hl, bc - -jr_00a_5045: - ret z - - inc bc - dec b - ld b, $03 - inc bc - add h - inc b - nop - ld a, [de] - ldh a, [$f8] - ld hl, sp-$04 - db $fc - ld [$def6], a - ld [c], a - ld a, l - jp Jump_00a_61bf - - - cp a - ld [hl], c - ld a, l - db $eb - cp $f6 - cp $fe - ld a, [$5ce6] - db $e4 - cp b - cp b - and l - dec b - ld l, d - ld b, c - add hl, de - ld e, $01 - ld e, $1f - ld b, e - add hl, de - ld e, $0d - dec d - ld e, $2f - ld [hl], $37 - ccf - ld a, l - ld a, a - rst $20 - cp $83 - rst $38 - db $fc - db $fc - and h - ld bc, $1860 - rrca - dec d - dec de - inc l - inc sp - daa - add hl, sp - ld [hl], e - ld a, [hl] - ld l, l - ld a, [hl] - inc [hl] - ccf - dec de - rra - ld c, $0f - inc de - rra - dec l - inc sp - ld e, d - ld h, a - or e - rst $08 - add l - ld b, $fe - ld bc, $8080 - jp $8101 - - - dec d - ld [hl], b - ldh a, [$38] - ld hl, sp-$64 - ld a, h - adc $3e - cp $fe - ld a, [bc] - cp $fa - cp $ae - sbc $dc - db $fc - cp $fe - rst $38 - rst $38 - and [hl] - rlca - ld a, [bc] - ld [bc], a - rst $38 - adc b - rst $38 - add e - nop - jr nc, jr_00a_50cd - -jr_00a_50cd: - ret z - - ld [hl+], a - rst $38 - inc bc - jp z, Jump_00a_7fff - - ld a, a - adc l - ld a, [bc] - -jr_00a_50d7: - db $76 - dec d - ldh [$e0], a - ldh a, [$f0] - jr c, jr_00a_50d7 - - xor h - ld a, h - ld e, [hl] - cp $ba - cp $7a - cp $d6 - cp $ae - sbc $74 - adc h - xor h - call c, $0a85 - sbc d - rst $38 - dec b - inc a - inc a - ld b, d - ld b, d - add c - add c - inc hl - xor c - add hl, bc - add d - add d - rst $00 - ld b, l - rst $38 - rst $38 - nop - nop - ld a, h - ld a, h - ld b, c - sbc [hl] - add d - ld b, c - cp $82 - jp $1300 - - - inc b - nop - nop - ld a, [hl] - rst $38 - rst $38 - inc h - add c - inc bc - rst $38 - add c - ld a, [hl] - rst $38 - inc hl - nop - ld [bc], a - ld [hl+], a - ld [hl+], a - ld a, $22 - ld a, a - rrca - ld c, c - ld c, c - ld a, [hl+] - ld a, a - ld a, $3e - ld [$0008], sp - nop - ld b, d - ld b, d - inc h - inc h - jr jr_00a_514e - - rst $00 - nop - ld b, a - dec c - nop - nop - ld [hl], b - ld [hl], b - ret - - - ret - - - ld h, d - ld h, d - ld [hl-], a - ld [hl-], a - sbc d - sbc d - ld [hl], c - ld [hl], c - dec h - nop - inc b - add e - add e - ld b, e - -jr_00a_514e: - ld b, e - nop - jp z, Jump_00a_6800 - - inc bc - nop - nop - jr jr_00a_5170 - - ret - - - nop - ld [hl], a - inc bc - call z, $d9cc - reti - - - inc hl - ldh a, [$03] - ret c - - ret c - - call $25cd - nop - add hl, bc - call c, $92dc - sub d - sbc h - sbc h - -jr_00a_5170: - sub h - sub h - jp nc, $25d2 - - nop - add hl, bc - push hl - push hl - sub l - sub l - ld [c], a - ld [c], a - sub d - sub d - ld [c], a - ld [c], a - inc hl - nop - ld bc, $3e3e - add hl, hl - ld h, e - and e - nop - inc e - inc bc - inc c - inc c - inc e - inc e - daa - inc c - ld bc, $1e1e - add l - nop - or b - add hl, bc - inc bc - inc bc - ld c, $0e - jr jr_00a_51b7 - - jr nc, jr_00a_51d1 - - ld a, a - ld a, a - adc c - nop - ret nc - - rst $00 - nop - rst $10 - add hl, bc - ld c, $0e - ld e, $1e - ld [hl], $36 - ld h, [hl] - ld h, [hl] - ld a, a - ld a, a - inc hl - ld b, $c3 - -jr_00a_51b7: - nop - pop hl - inc hl - ld h, b - ld bc, $7e7e - add a - nop - ld [$0083], a - or d - add e - ld bc, $8706 - nop - cp d - rlca - ld a, a - ld a, a - inc bc - inc bc - ld b, $06 - -jr_00a_51d1: - inc c - inc c - dec h - jr @-$77 - - nop - or b - inc bc - ld a, $3e - ld h, e - ld h, e - adc c - ld bc, $030c - ld h, e - ld h, e - ccf - ccf - add l - nop - ld_long $ff2f, a - ld b, [hl] - nop - rst $38 - nop - nop - sub b - ld bc, $2f5e - -jr_00a_51f3: - nop - rst $38 - dec h - nop - inc bc - ld e, $1e - dec l - inc sp - ld b, c - ccf - ld hl, $2d03 - inc sp - ld e, $1e - dec l - nop - db $10 - rlca - rlca - inc e - rra - ld a, a - ld a, a - cp a - ret nz - - rst $38 - add b - cp a - rst $38 - ld e, a - ldh [$bf], a - db $ec - ei - ld b, c - xor h - rst $38 - inc c - add b - cp a - rst $38 - ld a, a - ld e, a - ld e, a - ld l, [hl] - ld l, $31 - rra - rra - rrca - rrca - add e - nop - ld [hl+], a - ld a, [bc] - cp l - jp $80ff - - - db $fd - cp [hl] - ld e, e - rst $20 - cp [hl] - pop af - rst $28 - ld b, c - or b - rst $38 - ldh [$28], a - add b - rst $38 - db $fc - ld a, a - ld a, b - ld e, a - ld [hl], b - -jr_00a_5244: - inc l - inc sp - -jr_00a_5246: - rra - rra - ldh [$e0], a - jr jr_00a_5244 - - call z, Call_00a_76fc - cp $fe - ld a, $be - sbc $5f - xor $ed - dec sp - rst $18 - add hl, sp - rst $28 - -jr_00a_525b: - add hl, de - db $ed - dec de - xor $9e - ret z - - jr c, jr_00a_51f3 - -jr_00a_5263: - ld [hl], b - jr nz, jr_00a_5246 - - inc hl - ret nz - - dec e - jr nc, jr_00a_525b - - ret z - - ld hl, sp-$0c - db $fc - ld a, h - db $fc - cp [hl] - ld a, [hl] - ld e, [hl] - cp [hl] - cp h - sbc $7e - sbc $df - ld [hl], c - cp a - ld [hl], c - sbc a - ld [hl], c - sbc [hl] - ld a, [hl] - jr nz, jr_00a_5263 - - ld b, b - ret nz - - add b - add b - daa - nop - add hl, bc - ld a, a - ld a, a - inc sp - ld a, a - add hl, sp - ccf - ld e, $3f - dec de - rla - ld b, c - dec e - inc de - dec b - ld e, $12 - ld a, [de] - ld d, $0c - inc c - dec hl - nop - rrca - ld a, a - ld a, a - add hl, sp - ld a, a - dec a - ccf - ld [hl], $2f - ld a, e - ld b, a - cp $86 - db $ec - sbc h - ld hl, sp-$08 - add hl, hl - nop - rrca - ld c, $0e - ld [hl], a - ld a, c - rst $38 - pop hl - -jr_00a_52ba: - cp $e2 - db $e4 - db $fc - ld hl, sp-$08 - ldh [$e0], a - add b - add b - dec l - nop - ldh [$29], a - rrca - rra - ccf - jr nc, jr_00a_532c - - ld l, a - ld e, a - ld [hl], b - ld a, a - ld l, d - ld a, a - ld c, d - ld a, a - ld b, b - ld a, a - ld e, a - ccf - ld l, [hl] - ld a, $31 - ccf - ccf - rra - dec e - rrca - rrca - rlca - inc b - dec bc - inc c - rrca - rrca - inc bc - rlca - rra - rra - cpl - jr nc, jr_00a_534e - - ld a, a - ld l, a - ld [hl], b - ld b, c - ld a, a - ld d, h - add h - ld bc, $1f0c - inc l - ld a, [hl] - ld [hl], c - rst $38 - cp a - rst $30 - sbc e - ld a, a - ld c, a - -jr_00a_5302: - jr c, jr_00a_533c - - nop - -jr_00a_5305: - nop - ret nz - -Jump_00a_5307: - ldh [rSVBK], a - ldh a, [$f8] - jr c, jr_00a_5369 - - db $fc - cp $32 - sbc $32 - call c, $d03c - or b - or b - ld a, b - ld a, b - inc h - ld hl, sp+$12 - ldh a, [$f8] - ret nc - - jr nc, @-$0e - - db $10 - ldh [$f0], a - add $e6 - rst $38 - ld sp, hl - ld a, a - ld sp, hl - sbc $3e - -jr_00a_532c: - ld e, b - ld hl, sp-$08 - ld b, c - jr c, jr_00a_5302 - - ld [bc], a - jr nc, jr_00a_5305 - - jr nc, jr_00a_52ba - - ld bc, $0750 - db $fc - db $fc - -jr_00a_533c: - cp $fa - rst $38 - pop af - dec de - dec e - jp MBC1RomBank - - - ld de, $0f0f - ld de, $201f - ccf - ld a, $3f - -jr_00a_534e: - rla - add hl, de - ld l, a - ld a, b - rst $38 - adc b - ld a, a - ld h, b - ld e, a - ld [hl], b - ld b, d - adc a - ld hl, sp+$05 - ld d, a - ld a, b - ccf - jr c, jr_00a_5368 - - rlca - add a - ld bc, $0182 - dec d - dec de - -jr_00a_5368: - add e - -jr_00a_5369: - ld bc, $038c - rst $38 - ldh [$5f], a - ld [hl], b - ld b, c - adc l - ld a, [$8f09] - ld a, [$7a57] - ccf - ld a, $03 - ld [bc], a - inc bc - inc bc - push bc - nop - and e - ld b, c - ld b, b - ret nz - - rlca - ret nz - - ret nz - - and b - ld h, b - ret nc - - jr nc, @-$16 - - jr jr_00a_53cf - - db $f4 - inc c - rrca - ld a, [$fe06] - ld [bc], a - ld a, [$f406] - inc c - ld hl, sp-$08 - ld a, $3e - ld e, d - ld h, [hl] - db $fd - jp Jump_00a_7f41 - - - pop bc - dec d - cp a - pop bc - rst $38 - add c - ld a, l - add e - db $fd - inc bc - cp $02 - rst $30 - rrca - db $fd - inc bc - ld a, [$e406] - -jr_00a_53b6: - inc e - sbc b - ld a, b - ldh [$e0], a - add a - ld bc, $17c2 - ldh [$e0], a - sbc h - ld a, h - rst $20 - rra - rst $30 - dec c - rst $38 - dec b - push af - rrca - or $0e - db $f4 - inc c - -jr_00a_53cf: - ld hl, sp+$08 - add sp, $18 - ret nc - - jr nc, jr_00a_53b6 - - ldh [$a3], a - ld bc, $02c4 - inc b - rlca - inc b - ld b, e - rlca - dec b - db $10 - rlca - ld [$140f], sp - dec de - dec l - inc sp - ld c, c - ld [hl], a - ld b, e - ld a, a - ld b, b - ld a, a - jr nz, jr_00a_5430 - - rra - rra - add l - -jr_00a_53f4: - ld [bc], a - jr nz, jr_00a_53fa - - ld [$0d0f], sp - -jr_00a_53fa: - rrca - ld b, c - dec d - -jr_00a_53fd: - rra - ld bc, $3f25 - ld b, c - ld b, b - ld a, a - -jr_00a_5404: - ld b, c - ld l, c - ld e, [hl] - dec bc - ld c, b - ld a, a - jr nz, @+$41 - - jr jr_00a_542d - -jr_00a_540e: - rlca - rlca - ldh [$e0], a - jr nz, jr_00a_53f4 - - ld b, c - ld d, b - or b - ld bc, $f010 - ld b, d - jr nz, jr_00a_53fd - - inc bc - db $10 - ldh a, [$88] - ld a, b - ld b, c - call nz, $073c - add h - ld a, h - inc b - db $fc - ld [$f0f8], sp - -jr_00a_542d: - ldh a, [$83] - ld [bc], a - -jr_00a_5430: - ld h, b - rlca - jr nc, jr_00a_5404 - - jr z, jr_00a_540e - - ld c, b - ld hl, sp+$40 - ld hl, sp+$41 - ld b, h - -jr_00a_543c: - db $fc - inc bc - nop - db $fc - ld [hl+], a - sbc $41 - ld [hl], d - adc [hl] - rlca - inc h - call c, $fc0c - jr nc, jr_00a_543c - - ret nz - - ret nz - - add l - ld [bc], a - jr nz, jr_00a_5464 - - jr c, jr_00a_5493 - - ld d, h - ld l, a - cp e - rst $00 - db $fc - add e - rst $38 - add b - rst $30 - adc b - xor a - ret c - - ld a, c - ld a, [hl] - ld h, a - ld e, [hl] - -jr_00a_5464: - ld b, c - adc h - ld [bc], a - ld e, c - rlca - ld e, b - cp b - inc d - db $fc - ld [$1df6], a - db $e3 - ld b, c - rst $38 - ld bc, $dd07 - inc hl - rst $30 - dec sp - xor h - ld a, h - call nz, $85fc - ld [bc], a - ld a, d - dec hl - nop - rlca - inc a - inc a - ld b, d - ld a, [hl] - cp a - pop bc - ld c, a - ld [hl], b - add h - nop - ld h, $1b - ret nz - - ld b, e - ld a, h - dec a - -jr_00a_5493: - ld a, $03 - inc bc - rlca - rlca - ld c, h - ld e, a - ld [hl-], a - ccf - inc [hl] - ld a, a - ld c, h - ld a, a - reti - - - cp $a3 - db $fc - add a - ld hl, sp-$22 - and c - sub b - rst $28 - add b - ld b, c - rst $38 - ld b, b - rrca - ld a, a - jr nz, jr_00a_5531 - - jr jr_00a_54d3 - - rlca - rrca - ldh [$f0], a - sbc b - ld a, h - inc b - db $fc - jp nz, $823e - - ld b, c - ld a, a - add c - nop - ld a, a - ld b, c - ld bc, $41ff - inc bc - db $fd - dec de - ld b, $fa - ld c, $f2 - inc e - db $e4 - ld a, b - sbc b - -jr_00a_54d3: - ldh [$e0], a - jr c, jr_00a_550f - - ld d, h - ld l, h - ld e, e - ld [hl], a - ld a, l - db $76 - daa - jr c, jr_00a_5515 - - ccf - ld e, a - ld h, b - db $eb - rst $38 - cp a - ret nz - - ld b, d - rst $38 - adc c - rlca - cp a - ret nz - - ld e, a - ld l, h - cpl - jr nc, jr_00a_5531 - - ccf - add e - inc bc - ld b, b - ld [$f6fa], sp - cp e - ld [hl], a - or $0f - db $e3 - rst $38 - dec sp - -jr_00a_5500: - ld [hl+], a - rst $38 - ld bc, $07f9 - ld b, c - db $fd - inc bc - add hl, bc - cp $03 - ei - ld b, $e7 - inc e - -jr_00a_550f: - sbc [hl] - ld a, c - db $fc - db $e3 - dec h - nop - -jr_00a_5515: - add h - nop - add b - ldh [rNR43], a - jr c, jr_00a_5500 - - inc e - call nz, $9a3c - ld h, [hl] - ld [hl+], a - sbc $41 - cp a - adc l - ld [hl], e - sbc l - ld h, e - dec a - jp $867a - - - ld a, [$4f06] - ld [hl], b - -jr_00a_5531: - sbc [hl] - db $e3 - call c, $eee7 - rst $30 - ld [hl], a - ld a, a - inc sp - ccf - dec e - dec e - ld sp, $0100 - di - inc c - ld b, c - rst $38 - nop - add hl, bc - rst $20 - jr jr_00a_5599 - - cp a - sbc a - rst $38 - and c - pop hl - ldh [$e0], a - cpl - nop - rrca - cp $02 - db $fd - inc bc - db $ed - inc de - db $dd - inc sp - dec a - di - ld [$e2f6], a - cp $dc - call c, $002f - rrca - ld sp, hl - ld b, $c7 - jr c, @+$01 - - nop - or $09 - ld [hl], l - adc a - or a - rst $08 - rst $08 - rst $38 - cp e - cp e - cpl - nop - ld bc, $302f - and h - ld [bc], a - ld d, $08 - add hl, de - ld c, $09 - dec bc - inc c - inc b - rlca - inc bc - inc bc - inc sp - nop - inc b - ld [$3e1c], sp - inc e - inc e - ld b, l - ld a, $7f - ld b, $3e - inc e - ld a, $3e - inc e - -jr_00a_5599: - ld [$291c], sp - nop - ld b, $1c - nop - ld a, [hl+] - inc e - ld a, $1c - ld e, h - add h - inc b - ld c, c - ld b, $5d - ld a, $3e - inc e - ld a, [hl+] - inc e - inc e - ld l, $00 - rlca - adc $00 - ld sp, hl - ld b, $be - pop bc - rst $28 - ldh a, [$63] - ei - inc bc - db $ed - ld e, $ff - nop - adc l - nop - ld de, $7b03 - ld a, h - rst $08 - ldh a, [$83] - ld [bc], a - or $00 - ld e, a - ld b, d - ld h, b - ld a, a - dec b - ld h, b - cp a - ret nz - - ld h, a - ld a, b - dec de - add a - inc b - ld e, e - ld b, d - ld [$0000], sp - ld [$0841], sp - inc d - ld bc, $3608 - ld b, c - inc e - ld [hl+], a - rlca - ld a, $41 - ld a, a - ld b, c - inc e - ld h, e - ld [hl+], a - ld a, $90 - inc b - ld [hl], a - ld [bc], a - nop - ld a, [hl] - rst $38 - cpl - nop - add hl, bc - ld [bc], a - inc c - ld [$1010], sp - jr nz, jr_00a_5624 - - ld b, b - nop - ld b, b - ld b, h - ld b, b - add b - dec bc - ld h, b - add b - jr nz, jr_00a_564f - - jr nc, jr_00a_5651 - - jr jr_00a_5633 - - inc c - db $10 - ld [bc], a - inc c - and h - inc bc - add l - ld [bc], a - db $10 - ld de, $4120 - ld hl, $0b40 - ld h, e - add b - -jr_00a_5624: - ld a, a - add b - nop - rst $38 - inc bc - db $fc - rrca - ldh a, [rNR11] - ldh [rSTAT], a - ld hl, $83c0 - dec b - -jr_00a_5633: - inc l - and l - dec b - jr nz, @+$03 - - ld hl, sp+$04 - ld b, c - db $fc - ld [bc], a - nop - cp $a8 - dec b - dec l - ld bc, $07f8 - ld b, c - db $fc - inc bc - ld b, c - -jr_00a_5649: - cp $01 - ld b, c - ld a, a - add b - ld b, c - -jr_00a_564f: - ccf - ld b, b - -jr_00a_5651: - rlca - rra - jr nz, @+$11 - - db $10 - inc bc - inc c - nop - inc bc - ld b, d - ld a, a - add b - add hl, bc - -jr_00a_565e: - ccf - ret nz - - rra - ldh [rIF], a - ldh a, [$03] - db $fc - nop - rst $38 - ld b, c - add b - ld a, a - ld b, c - ld b, b - ccf - ld bc, $1f20 - push bc - dec b - dec h - dec bc - ld a, [$f205] - dec c - db $f4 - ld a, [bc] - db $e4 - ld a, [de] - adc b - ld [hl], h - jr nc, jr_00a_5649 - - and e - dec b - ld l, h - add h - dec b - sub b - ld b, $0b - db $e4 - dec de - adc b - ld [hl], a - jr nc, jr_00a_565e - - or e - dec b - ld a, h - dec b - db $fd - ld [bc], a - ld [hl], d - adc l - inc a - jp $0045 - - - rst $38 - nop - add c - call z, $ef02 - ld a, [bc] - ld b, b - inc h - ld [bc], a - ld b, h - add h - ld b, d - ld bc, $0082 - -jr_00a_56ab: - add e - ld [bc], a - ld b, h - add c - nop - ld b, c - add c - ld [bc], a - ldh [rLCDC], a - add c - add h - ld b, d - ld e, h - ld [hl+], a - nop - inc a - db $10 - ld [$0870], sp - add h - ld a, b - ld [$0384], sp - inc b - nop - rlca - ld [$7804], sp - add h - nop - ld hl, sp+$00 - sub b - ld bc, $1310 - ld [$0b04], sp - ld [bc], a - inc c - inc b - ld [$0810], sp - nop - nop - inc b - nop - add hl, de - nop - inc sp - ld [$106f], sp - ld e, a - jr nz, jr_00a_56ab - - dec a - and l - ld b, d - add b - ld a, a - sbc b - ld h, [hl] - sub c - ld c, h - or e - ld [$906f], sp - add l - ld b, $2a - ldh [$37], a - ld [hl+], a - nop - call z, $9800 - ld b, h - or b - ld [$a851], sp - ld l, d - sub c - and l - ld d, d - ld l, l - sub d - inc c - or e - adc c - ld b, [hl] - ld de, $0c8e - di - ld l, h - sub e - ld l, d - sub l - db $db - inc h - rst $38 - nop - ld a, [bc] - db $f4 - ld d, e - adc h - and e - ld b, h - dec d - ld [bc], a - sub c - ld a, [bc] - ld h, c - add [hl] - add e - ld a, h - rst $38 - nop - db $ec - inc bc - ld hl, sp+$07 - or b - dec bc - push hl - ld [de], a - ld b, c - call $1822 - sbc h - ld b, e - sbc b - ld b, [hl] - rst $28 - nop - ei - nop - cp a - nop - sbc $20 - sbc a - ld h, b - ld de, $4bae - inc [hl] - reti - - - inc h - jp $a53c - - - ld b, d - ld b, d - add h - dec b - db $eb - dec c - ld b, d - add c - and l - ld b, d - jp $323c - - - adc l - dec b - ld a, [c] - ld h, l - sub d - ld h, [hl] - sub c - ld b, c - adc $21 - ld b, c - sbc h - ld b, d - ldh [rNR50], a - reti - - - ld h, $b2 - ld c, l - ld l, h - sub d - ld l, d - sub h - ret z - - inc [hl] - or l - ld c, b - ld [bc], a - ld sp, hl - adc d - dec b - dec b - jp nz, $0231 - - ld [bc], a - add hl, bc - ld [bc], a - dec b - ld [bc], a - add l - inc h - ld b, e - add c - ld a, [hl] - sbc l - ld h, d - rst $38 - nop - sbc a - nop - sub c - ld b, d - nop - ldh [$0e], a - nop - pop af - nop - rst $38 - nop - adc l - ld [hl], b - nop - adc b - dec b - adc b - rlca - adc b - adc a - ld [hl], b - ld b, c - di - nop - ld [bc], a - rst $38 - nop - xor $84 - dec b - add $02 - rst $10 - nop - xor e - add [hl] - dec b - add $09 - jr c, jr_00a_57b6 - -jr_00a_57b6: - dec a - ld b, b - ld e, a - add b - sub l - nop - cp d - nop - add e - dec b - ld [hl], h - jp $8105 - - - ld b, $7f - add b - ld [hl], $c9 - add c - ld a, [hl] - ld c, c - ld b, c - inc h - add hl, bc - ldh [rNR51], a - inc h - sla h - ld d, d - nop - sbc [hl] - nop - sub e - nop - ld [de], a - nop - inc e - nop - sub l - nop - sub d - nop - ld h, d - nop - ld [hl-], a - ret nz - - ld [hl], d - add b - dec a - ret nz - - ld [hl], d - add b - inc a - ret nz - - ld [hl], l - add b - ld [hl-], a - ret nz - -jr_00a_57f2: - ld h, d - add b - ccf - nop - ld c, b - ld b, c - nop - add b - dec bc - nop - add h - nop - ld c, $80 - cp e - ld b, h - ld b, b - ccf - db $fc - nop - sub d - and h - rlca - ld b, e - rlca - ld de, $3a00 - ld bc, $12ed - ld [bc], a - db $fc - add [hl] - inc b - ld a, $08 - ldh a, [$f0] - inc c - inc e - ld [bc], a - ld b, $01 - ld [bc], a - ld bc, $07af - ld h, b - rrca - add b - nop - ret nz - - nop - ldh [rP1], a - ld hl, sp+$00 - ccf - ret nz - - sbc a - ld h, b - ld b, b - ccf - db $10 - rrca - and l - rlca - add b - dec b - ld e, $01 - db $fc - inc bc - pop af - ld c, $a3 - rlca - adc h - ld [$021c], sp - ld hl, sp+$06 - ldh [rNR32], a - add b - ld a, b - jr nz, jr_00a_57f2 - - inc b - cpl - ld b, $04 - ld [bc], a - ld de, $040e - inc bc - ld b, $a4 - dec b - ld de, $060b - ld bc, $020d - db $10 - ldh [$e0], a - jr jr_00a_589b - - inc b - ld a, [bc] - inc b - ld b, e - inc b - ld [bc], a - and l - rlca - ret nz - - inc b - jr nc, @+$42 - - and b - ld b, b - ld h, b - add [hl] - dec b - rrca - ld b, $bf - ld b, b - ld c, a - jr nc, jr_00a_589b - - rra - ld [$03a6], sp - rst $08 - -jr_00a_5880: - rrca - ld [bc], a - ld bc, $1e21 - sbc [hl] - ld h, b - ld b, b - add b - sbc b - ld h, b - inc h - jr jr_00a_5898 - - inc b - inc b - inc bc - ld b, c - inc [hl] - ret nz - - inc bc - add hl, sp - ret nz - - add hl, de - -jr_00a_5898: - ldh [rSTAT], a - ld e, b - -jr_00a_589b: - and b - ld b, c - ld [hl], h - add b - ld b, c - ld l, $01 - ld b, c - ld a, [de] - dec b - ld [bc], a - sbc b - rlca - sbc h - ld b, c - inc bc - inc l - ld [bc], a - inc bc - jr nz, jr_00a_590f - - ld b, c - nop - and b - dec b - db $10 - and b - ld e, [hl] - and b - jr nz, jr_00a_5919 - - call nz, $f404 - adc b - inc b - rst $28 - rlca - inc a - ret nz - - nop - rst $38 - ld a, [hl] - add c - inc b - ld hl, sp-$79 - rlca - add $01 - inc c - ld [bc], a - add e - ld b, $0e - rrca - ld [$2807], sp - db $10 - ld b, b - jr nz, jr_00a_58de - - ld b, e - jp $140c - - -jr_00a_58de: - adc b - ld [$2890], sp - sub b - xor c - ld [$0550], sp - ld a, [bc] - ld de, $0912 - ld [bc], a - add hl, bc - ld b, a - jr z, jr_00a_5880 - - ld b, a - ld [bc], a - add hl, bc - dec b - jr nz, @+$21 - - rra - ldh [rIE], a - nop - adc e - inc bc - rst $08 - add hl, bc - ld [bc], a - ld bc, $0e11 - adc a - ld [hl], b - ld a, [hl] - add b - ldh a, [rP1] - xor h - inc b - cpl - ld [bc], a - ld bc, $0205 - -jr_00a_590f: - add e - dec b - ld [hl+], a - dec b - inc e - jr nz, jr_00a_594e - - ld b, b - ld [hl], b - add b - -jr_00a_5919: - jp $8407 - - - adc h - nop - pop af - add h - ld [bc], a - jr nz, jr_00a_592b - - dec bc - inc b - rlca - ld [$100e], sp - inc l - db $10 - -jr_00a_592b: - inc e - ld b, c - jr nz, @+$5a - - nop - jr nz, jr_00a_5973 - - jr nc, jr_00a_5974 - - ld bc, $40b0 - ld b, a - ld h, b - add b - db $f4 - add hl, sp - ld [$0490], sp - inc bc - nop - ld bc, $0100 - or b - ld [$17cf], sp - ldh a, [$08] - db $f4 - ld [$0478], sp - -jr_00a_594e: - ld a, [$7a04] - inc b - cp h - ld [bc], a - ld a, h - ld [bc], a - cp l - ld [bc], a - ld e, [hl] - ld bc, $01be - ld e, [hl] - ld bc, $01be - add a - add hl, bc - ld h, b - ld b, d - ldh [rP1], a - inc b - ld h, b - nop - and b - nop - ld b, b - add e - add hl, bc - ld [hl], a - dec c - nop - ld e, a - nop - -jr_00a_5973: - cp a - -jr_00a_5974: - nop - ld e, a - nop - xor a - nop - ld d, l - nop - ld a, [bc] - nop - dec d - ld a, [hl+] - nop - ld [bc], a - ld d, l - nop - xor d - add h - dec b - add $85 - ld b, $80 - ldh [rNR50], a - cp $00 - rst $18 - nop - rst $30 - nop - ld a, a - nop - db $fd - nop - db $ec - inc bc - cp d - ld b, $f0 - ld c, $64 - sbc h - ld [$90f8], sp - ldh a, [$a0] - ldh [$c0], a - ret nz - - ccf - ld a, a - ld b, b - rst $38 - cp a - ret nz - - or b - ret nz - - ret nc - - add b - xor d - ld b, c - ret nz - - cp a - dec b - ret nz - - rst $38 - rst $38 - nop - rst $38 - rst $38 - and [hl] - add hl, bc - sub e - ld b, c - rst $38 - nop - xor c - add hl, bc - ret nz - - nop - xor c - and h - add hl, bc - rl [hl] - db $ed - inc bc - db $fd - inc bc - cp l - inc bc - db $fd - inc bc - db $dd - inc bc - push af - inc bc - ld a, l - inc bc - db $fd - inc bc - xor a - ret nz - - cp e - ret nz - - cp a - ret nz - - cp [hl] - xor b - add hl, bc - db $ed - ld [de], a - rst $28 - nop - cp e - nop - cp $01 - ld a, l - add e - add hl, sp - rst $00 - add d - rst $38 - add $ff - ld a, l - cp $00 - ld a, a - ld b, b - add h - dec b - ld [hl], c - ld a, [bc] - ld l, a - sub b - ld b, $f9 - nop - rst $38 - sub c - ld l, [hl] - nop - rst $38 - nop - add l - add hl, bc - sbc e - ld c, $10 - add $39 - nop - rst $38 - db $10 - rst $28 - swap a - sub d - ld c, a - sub e - ld l, a - add hl, bc - sub a - ld b, c - sub l - dec bc - ld b, $45 - sbc e - xor c - ld d, a - add h - ei - xor d - ld b, c - pop de - xor b - inc c - pop de - or [hl] - ret - - - pop bc - or $4d - ld a, [c] - jp $f1fc - - - cp $c3 - db $fc - ld b, c - cp l - jp nz, Jump_00a_6401 - - add e - add l - ld b, $94 - ldh [$31], a - or e - db $fc - rst $20 - ld hl, sp-$14 - ldh a, [$81] - ld hl, sp+$14 - db $eb - ld [hl], d - adc h - db $f4 - ld [$08f0], sp - jr @+$01 - - ld [$0cff], sp - rst $38 - call nz, $e4ff - rst $38 - or $ff - ld [hl-], a - rst $38 - ld a, [de] - rst $38 - inc e - ei - ld d, b - cp a - jr nc, @+$01 - - inc sp - rst $28 - scf - rst $28 - ld l, a - rst $38 - ld l, h - rst $18 - ld a, d - db $dd - rst $38 - rst $38 - add e - rlca - ld a, [hl] - add hl, bc - add b - nop - ld b, b - add b - rst $38 - rst $38 - rst $08 - ldh a, [$fc] - rst $38 - xor a - ld a, [bc] - and b - rst $00 - add hl, bc - ret c - - dec b - adc a - ld [hl], b - pop af - ld c, $1e - pop hl - ld b, c - rst $00 - jr c, @+$03 - - ld e, $e1 - and e - ld a, [bc] - ret z - - ld [bc], a - ld a, h - add e - rst $38 - add e - add hl, bc - db $d3 - dec b - rst $38 - adc h - ld hl, sp-$44 - ret z - - cp a - ld b, c - add a - add h - dec d - adc a - adc c - adc [hl] - cp b - adc a - or l - adc [hl] - cp l - add [hl] - or l - adc [hl] - adc b - cp a - cp e - adc h - call nz, $c7bf - cp a - add l - cp $88 - cp a - ld a, [bc] - rst $18 - add [hl] - inc b - rst $28 - ld bc, $01fe - ld b, c - ld bc, $0581 - ld h, a - rst $20 - inc b - inc h - dec b - inc h - ld b, d - inc b - dec h - ld bc, $27c6 - ld b, c - nop - add c - jr jr_00a_5b5b - - rst $38 - adc $21 - add hl, sp - ld de, $0919 - add hl, bc - ld bc, $0121 - ld sp, $3921 - ld sp, $efef - add sp, -$10 - ldh [$c0], a - ret nz - - add b - nop - adc b - nop - sbc [hl] - xor a - dec bc - ld d, b - ld bc, $0f17 - and e - ld bc, $0275 - rst $38 - ld a, a - ld a, a - ld h, $ff - xor a - dec bc - ld [hl], b - rst $38 - dec bc - rlca - rlca - rra - rra - ccf - dec hl - ld a, l - ld c, e - db $fd - add e - db $fd - cp e - inc h - rst $38 - ld c, $df - rst $38 - ldh [$fa], a - rst $38 - ld [hl], h - ld a, a - add hl, hl - scf - dec hl - scf - inc de - rra - inc c - inc c - and h - nop - nop - ld b, $84 - ld a, [$fb26] - daa - ei - ld a, a - inc h - rst $38 - ld [bc], a - rst $30 - rst $38 - rrca - ld b, c - ld a, [hl] - cp $00 - db $fc - call nz, $2400 - dec e - nop - nop - ldh [$e0], a - db $10 - ld [hl], b - ld [$0438], sp - inc a - inc b - inc e - ld [bc], a - ld e, $0e - ld e, $13 - rra - dec h - ccf - ld c, c - ld a, a - adc b - -jr_00a_5b5b: - rst $38 - ld [$080f], sp - ld c, $04 - ld b, $23 - inc b - dec h - nop - nop - ld bc, $0162 - ld [$0303], sp - ld b, $07 - dec b - rlca - ld d, h - ld d, a - db $fc - ld b, c - rst $38 - ld hl, sp+$04 - xor a - ld hl, sp-$05 - ld [hl], b - ld [hl], c - inc hl - ld bc, $0f17 - rrca - jr nc, jr_00a_5bc2 - - ret nz - - db $fc - add b - ld hl, sp+$00 - ld hl, sp-$80 - ld hl, sp+$60 - ld hl, sp+$10 - ld hl, sp-$78 - db $fc - ld b, h - db $fc - ld b, d - cp $41 - pop bc - inc hl - add b - inc hl - nop - ld bc, $0202 - inc hl - rlca - ld [de], a - rrca - dec c - rra - rra - inc sp - ccf - jr nz, jr_00a_5be6 - - jr nc, jr_00a_5be4 - - jr z, jr_00a_5be6 - - jr nz, jr_00a_5be8 - - jr nc, jr_00a_5be2 - - jr nz, jr_00a_5be4 - - nop - inc h - db $10 - ld d, $08 - ld [$8080], sp - ret nz - - ret nz - - ldh a, [$f0] - ld hl, sp+$78 - -jr_00a_5bc2: - db $fc - db $fc - sbc b - sbc h - ld d, $1e - ld a, $3e - ld e, [hl] - ld a, [hl] - ld [hl], $3e - jr jr_00a_5bf2 - - inc e - inc hl - jr @+$03 - - jr nc, jr_00a_5c06 - - and l - nop - ld e, [hl] - ldh [rNR50], a - inc e - inc d - ld a, [hl+] - ld a, $4b - ld [hl], l - sub l - -jr_00a_5be2: - db $eb - and l - -jr_00a_5be4: - ei - or l - -jr_00a_5be6: - ei - or c - -jr_00a_5be8: - rst $38 - add c - rst $38 - adc c - rst $38 - pop af - rst $38 - ld h, c - ld a, a - ld b, c - -jr_00a_5bf2: - ld a, a - ld [hl-], a - ld a, $0c - inc c - nop - nop - rrca - ld c, $31 - ccf - ld h, b - ld a, a - ret nz - - ld b, h - rst $38 - add b - ld [$c0ff], sp - -jr_00a_5c06: - rst $38 - ld b, b - ld a, a - jr z, jr_00a_5c4a - - ld e, $1f - and l - nop - sbc d - ldh [rNR44], a - rra - rra - daa - jr c, @+$61 - - ld h, b - ld a, a - ld b, b - cp a - db $d3 - cp a - rst $30 - rst $38 - and l - rst $38 - or a - rst $38 - add b - rst $38 - xor b - rst $38 - xor c - ld a, a - ld a, [hl] - ld a, [hl] - ld b, c - ld e, h - ld h, e - ccf - ccf - nop - nop - ldh a, [$f0] - add sp, $18 - ld b, c - db $f4 - inc c - ld de, $06fa - cp $82 - ld a, [$e286] - sbc [hl] - ld [c], a - ld e, $c6 - ld a, $fc - db $fc - ld hl, sp+$18 - -jr_00a_5c4a: - ld [hl], b - ldh a, [$83] - nop - sbc d - ld de, $1f1f - cpl - jr nc, @+$81 - - ld [hl], c - ld e, a - ld a, e - cp a - ret nz - - cp a - add sp, -$43 - db $eb - ld l, e - ld a, a - rra - rra - inc hl - rrca - add hl, bc - rra - rra - ccf - ccf - jr nc, @+$31 - - cpl - jr nc, jr_00a_5c8d - - rra - add h - ld bc, $0242 - adc h - ld [hl], h - call z, $01a3 - ld h, $11 - and d - sbc $e2 - cp $f6 - cp $ec - db $fc - call c, $b8ec - ret c - - ld [hl], b - or b - ldh [rNR41], a - ret nz - - ld b, b - add l - -jr_00a_5c8d: - nop - sbc d - jp $4101 - - - ld bc, $7f40 - ld b, c - add b - rst $38 - ld de, $ff81 - cp $ff - add c - rst $38 - add a - rst $38 - rst $38 - db $fc - ld sp, hl - add [hl] - ldh a, [$8f] - ld a, c - ld b, [hl] - ld a, a - ld a, a - rst $00 - ld bc, $0ba1 - ld d, b - ldh a, [rOBP0] - ld hl, sp-$7c - db $fc - ld a, [c] - ld a, [hl] - cp $1e - ld hl, sp+$08 - add h - ld bc, $e048 - ld h, $02 - db $dd - inc hl - rst $38 - ld sp, hl - ld b, $06 - nop - nop - ld a, $3e - ld b, l - ld a, a - -jr_00a_5ccd: - add d - rst $38 - ld a, [$fdff] - add a - cp $db - xor a - reti - - - rst $38 - ret c - - rst $38 - add b - ld sp, hl - and [hl] - ldh a, [$af] - cp c - add $5f - ld h, b - daa - jr c, jr_00a_5d05 - - rra - rlc c - and l - dec b - jr nz, jr_00a_5ccd - - ld e, b - ld hl, sp-$3c - db $fc - add h - ld bc, $08cc - ld c, $fc - inc b - rst $38 - inc bc - cp $0e - ldh a, [$f0] - add a - ld [bc], a - ld [bc], a - rla - ld [hl+], a - ld [c], a - ld d, c - -jr_00a_5d05: - di - ld c, a - db $fd - -jr_00a_5d08: - add a - db $fd - ei - ld a, l - rst $38 - ld bc, $02fe - ld a, [$f406] - inc c - add sp, $18 - jr nc, jr_00a_5d08 - - ret nz - - ret nz - - daa - nop - ld bc, $0a0a - ld b, c - rra - dec d - add hl, bc - rrca - dec bc - inc d - rra - db $10 - rra - jr nz, jr_00a_5d6a - - ld e, [hl] - ld a, a - ld b, d - add b - rst $38 - ld bc, $7f7f - sub c - ld [bc], a - ld b, h - inc b - inc a - ccf - inc a - dec hl - ld e, h - adc b - ld [bc], a - ld d, a - ld d, $08 - ld [$545c], sp - db $fc - or h - rst $38 - cp e - db $f4 - rst $18 - and b - rst $38 - ld e, h - ld a, a - ld a, $23 - ld a, $2b - ld a, $23 - ld e, h - ld a, a - ld b, b - adc b - ld [bc], a - ld d, a - ld de, $0707 - dec c - rrca - dec e - rra - ld d, $1f - ld a, $3f - ld a, a - ld a, a - rst $38 - ld hl, sp+$3f - -jr_00a_5d6a: - jr nc, jr_00a_5daa - - ld hl, $3c41 - inc hl - ld b, c - ccf - jr nz, @+$09 - - rra - db $10 - ccf - ccf - ld a, $3e - ldh [$e0], a - and e - ld bc, $1974 - adc b - ld hl, sp-$02 - cp $ff - cp a - cp $9e - ld hl, sp-$38 - ld a, b - add sp, $7c - db $fc - ld c, h - db $fc - db $fc - inc a - call nz, $c27c - ld a, [hl] - jp nz, $84fe - - db $fc - and e - nop - jp nz, $1011 - - rra - rst $38 - rst $38 - ld a, a - ld a, a - add hl, sp - ld a, $17 - jr jr_00a_5dc8 - - rra - -jr_00a_5daa: - add hl, sp - ccf - inc h - ccf - ld b, e - ld a, a - ld b, c - add e - cp $1b - adc a - db $fc - rst $00 - rst $38 - ld a, a - ld a, a - or $f6 - ld a, [$f6fe] - cp $28 - ld hl, sp-$28 - ld hl, sp-$04 - ld a, h - cp $ce - -jr_00a_5dc8: - rst $38 - add a - cp [hl] - add $bc - call nz, $c23e - ld b, c - ld a, a - inc bc - dec b - ld a, a - rlca - rst $38 - rst $38 - add [hl] - add [hl] - add l - ld bc, $0600 - ld l, d - ld [hl], l - ret nc - - rst $28 - sub b - rst $28 - xor [hl] - ld b, c - rst $18 - and b - ld bc, $81df - adc [hl] - ld bc, $8713 - inc bc - jr nz, jr_00a_5df5 - - call nc, $8eef - -jr_00a_5df5: - rst $38 - add e - inc bc - inc l - dec c - cp a - jp hl - - - cp a - rst $38 - rst $18 - rst $30 - ld b, a - ld a, [hl] - jr nz, @+$41 - - inc e - rra - rlca - rlca - daa - nop - nop - ld c, $41 - nop - rra - dec b - inc bc - rra - inc bc - ld e, $01 - ld c, $2e - nop - jr @+$81 - - ld a, a - cp a - ret nz - - db $fd - sbc a - rst $30 - xor b - ld a, [c] - cp l - rst $38 - add b - rst $18 - cp a - pop hl - cp [hl] - push hl - cp d - db $eb - or h - rst $20 - cp b - db $eb - or h - ei - ld h, d - cp [hl] - ret nc - - inc bc - add e - ld b, $00 - rlca - rrca - jr c, @+$41 - - ld b, b - ld a, a - ld b, c - ret nz - - cp a - ld de, $615e - ld hl, sp-$41 - ld [hl], a - rst $38 - ld h, a - ld h, a - ret c - - cp a - ldh [$bf], a - and b - rst $38 - ld c, [hl] - pop af - ld e, a - ld h, b - ld b, c - ld e, a - ld h, e - dec bc - ld e, [hl] - ld h, c - -jr_00a_5e5b: - ld c, [hl] - ld [hl], c - and b - rst $38 - ldh [$bf], a - ld hl, sp-$61 - ld l, a - ld a, a - push bc - ld [bc], a - ld b, e - ld [bc], a - jr nc, jr_00a_5e5b - - ld [$02a4], sp - ld d, c - ld b, c - add [hl] - ld a, h - ld e, $82 - ld a, [hl] - ld h, c - sbc a - pop af - rra - ld [hl], d - sbc a - ld [hl], $ff - rrca - ld sp, hl - ccf - pop af - cp $e2 - inc e - -jr_00a_5e84: - inc e - cp b - ld hl, sp+$78 - call z, $c47c - ld [de], a - ld a, [$f21e] - adc h - ld a, h - add d - adc h - inc bc - db $ed - add hl, bc - dec sp - pop af - xor $e2 - inc e - inc e - rrca - rrca - jr nc, jr_00a_5edf - - ld b, c - ld b, b - ld a, a - inc bc - rst $00 - cp b - rst $28 - sub b - ld b, c - rst $28 - call c, $ef12 - sub b - rst $00 - cp b - ld b, b - ld a, a - ret nz - - rst $38 - ldh [$bf], a - cp b - rst $18 - ld e, a - ld h, a - jr c, @+$3a - - rlca - rlca - jr jr_00a_5e84 - - ld [bc], a - cp d - inc bc - ld c, [hl] - ld [hl], c - ld e, a - ld h, b - ld b, c - rst $18 - and e - ld [$a1de], sp - ld c, [hl] - ld [hl], c - ld b, b - ld a, a - jr nz, jr_00a_5f12 - - jr jr_00a_5f16 - - rra - rla - dec c - add hl, de - ld c, $0e - db $ec - -jr_00a_5edc: - db $ec - ld e, $f2 - -jr_00a_5edf: - ld a, [de] - or $0b - db $fd - ld a, a - adc c - cp $b4 - inc b - ld c, e - dec e - jr nc, jr_00a_5edc - - ld hl, sp-$78 - add sp, -$68 - inc l - db $f4 - inc a - call nz, $fc18 - ld a, h - adc h - ld a, [hl] - adc [hl] - ld a, d - adc [hl] - ld sp, $01ff - rst $38 - jp nz, $ecfe - - inc a - ldh a, [$30] - and b - ld h, b - inc hl - ret nz - - inc bc - jr nc, @-$0e - - db $10 - ld hl, sp-$7b - inc bc - db $e4 - -jr_00a_5f12: - nop - ld [hl], h - sub d - inc b - -jr_00a_5f16: - adc l - add a - inc b - jr nz, jr_00a_5f1e - - cp b - rst $00 - db $fc - -jr_00a_5f1e: - add e - ld b, c - db $fc - db $e3 - rrca - db $fc - add e - cp b - rst $00 - add b - rst $38 - ld b, c - ld a, a - ld b, [hl] - ld a, a - add hl, sp - ld a, $1b - inc e - rlca - rrca - add a - inc b - ld b, b - ld bc, $7f40 - add l - inc bc - or h - inc bc - pop bc - cp a - ld b, d - ld a, a - ld b, c - jr nz, jr_00a_5f83 - - inc bc - ld e, $1f - dec d - dec de - add e - inc b - ld e, h - and a - inc b - ld h, b - ld [bc], a - ldh a, [$9f] - ld h, b - sub h - inc b - db $eb - rrca - ld bc, $0300 - nop - rlca - nop - rrca - nop - rra - nop - ccf - nop - ld a, a - nop - rst $38 - nop - adc $05 - ld l, $00 - nop - cp a - dec b - jr nz, jr_00a_5f7c - - cp $01 - db $fc - inc bc - ld hl, sp+$07 - ldh a, [rIF] - ldh [$1f], a - ret nz - - ccf - -jr_00a_5f7c: - add b - add h - dec b - inc l - dec c - add b - ld a, a - -jr_00a_5f83: - ret nz - - ccf - ldh [$1f], a - ldh a, [rIF] - ld hl, sp+$07 - db $fc - inc bc - cp $01 - cp a - dec b - ld h, b - nop - ld d, l - ld [hl+], a - rst $38 - inc b - ld d, l - rst $38 - xor d - rst $38 - ld d, l - and h - dec b - and e - ld [bc], a - nop - rst $38 - xor d - ld b, e - rst $38 - nop - ld [bc], a - rst $38 - xor d - ld d, l - and e - dec b - cp b - ld bc, $55aa - -jr_00a_5fb0: - call $c105 - nop - ld d, l - and e - dec b - call $0001 - ld d, l - add e - dec b - db $d3 - ld bc, $0000 - and e - dec b - reti - - - dec bc - db $ec - nop - xor d - nop - ld bc, $2310 - ld [$2010], sp - dec bc - ld b, b - add e - dec b - jr nz, jr_00a_5fde - - inc bc - ld b, b - ld bc, $0b20 - ld [$1010], sp - -jr_00a_5fdd: - inc hl - -jr_00a_5fde: - nop - call nz, $e505 - cp a - dec b - ldh [rSC], a - ld [$1000], sp - ld b, e - nop - jr nc, jr_00a_5fb0 - - ld b, $23 - nop - nop - xor a - ld b, $20 - inc hl - nop - inc b - inc a - nop - ld a, [hl] - nop - add c - ld h, $00 - rst $08 - ld b, $4e - ld b, $ff - rst $38 - add sp, -$10 - and b - ret nz - - add b - jr z, jr_00a_600b - -jr_00a_600b: - inc b - rst $38 - rst $38 - rra - rrca - rlca - xor d - ld b, $65 - add hl, bc - ret nc - - ldh [$e0], a - ret nz - - and b - ret nz - - ret nz - - add b - ld b, b - add b - ld b, d - add b - nop - ld bc, $070f - ld b, c - rlca - inc bc - ld [bc], a - inc bc - ld bc, $a603 - ld b, $89 - dec h - rst $38 - add hl, bc - cp $ff - db $fd - cp $fa - db $fc - db $f4 - ld hl, sp-$18 - ldh a, [$28] - rst $38 - nop - ld a, a - and h - nop - scf - nop - rrca - ld b, a - cp a - ld a, a - rlca - db $fd - cp $f9 - cp $fd - cp $f9 - cp $87 - ld b, $d0 - ld b, a - jr z, @-$3e - - ld b, a - ld d, h - dec bc - ld b, a - jr nz, jr_00a_5fdd - - ld b, a - ld a, [bc] - dec b - dec bc - nop - nop - ld b, $01 - -jr_00a_6065: - add hl, sp - ld b, $c4 - jr c, @+$29 - - ret nz - - jr c, jr_00a_606d - -jr_00a_606d: - and l - inc bc - ld e, a - add hl, bc - ld [hl], b - add b - adc [hl] - ld [hl], b - ld de, $e20e - ld bc, $001e - and e - ld [bc], a - ccf - nop - call z, $0041 - inc sp - add l - ld b, $5b - dec b - nop - ld b, b - nop - rst $38 - nop - ld [$0783], sp - ld c, c - jp z, Jump_00a_5307 - - ld a, [bc] - inc b - inc bc - ld [de], a - inc c - ld [$2030], sp - ld b, b - add b - ld b, b - ld b, b - add h - ld b, $8a - ld a, [bc] - jr nz, jr_00a_6065 - - ld b, b - jr nc, jr_00a_60b8 - - ld [$0804], sp - ld [$0a06], sp - ld b, d - ld bc, $4100 - add b - ld b, b - ldh [rNR44], a - add b - and b - -jr_00a_60b8: - ld b, b - jr c, jr_00a_60fb - - ld e, a - jr nz, jr_00a_60ed - - db $10 - db $10 - rrca - ld h, c - nop - stop - ld de, $1200 - ld bc, $033c - ld sp, hl - ld b, $74 - adc b - adc b - ld [hl], b - inc c - ldh a, [$99] - ld b, $e6 - jr jr_00a_60f0 - - ldh [rLCDC], a - add a - ld b, $66 - inc bc - ccf - rrca - ld b, b - rrca - ld b, e - ld b, b - ccf - inc b - ld b, b - nop - nop - ld a, a - ccf - ld b, c - ld [hl], b - -jr_00a_60ed: - ld c, a - ld b, e - ld b, b - -jr_00a_60f0: - ld a, a - add e - ld b, $5d - ld b, h - rst $38 - nop - nop - rst $38 - adc [hl] - rlca - -jr_00a_60fb: - adc $85 - rlca - db $db - ld b, l - dec h - jp c, $6002 - -Call_00a_6104: - add b - rst $38 - ld b, l - rst $38 - jp c, $ff02 - - sbc d - ldh [$bf], a - rlca - ldh a, [rP1] - nop - and h - dec b - ccf - nop - rrca - add h - dec b - dec h - add e - dec b - inc l - nop - dec c - add h - dec b - daa - ld [bc], a - ccf - nop - ld a, a - add h - dec b - dec hl - ret - - - ld b, $70 - ld c, $0c - nop - ld e, $00 - ld a, [hl] - nop - rst $38 - nop - add b - -jr_00a_6136: - nop - pop bc - nop - di - nop - ei - adc d - rlca - push de - ld [bc], a - add b - nop - ret nz - - adc d - dec b - ld b, l - inc b - nop - rst $38 - nop - nop - rst $38 - ld [hl-], a - nop - nop - rst $38 - add e - rlca - rst $08 - nop - -jr_00a_6154: - nop - add a - rlca - reti - - - ld [de], a - jr z, jr_00a_619f - - db $10 - jr z, jr_00a_61a2 - - jr z, jr_00a_6188 - - ld b, h - nop - ld b, h - ld [$2844], sp - ld b, h - nop - ld l, h - ld b, h - jr z, jr_00a_617c - - add e - ld [$e0ab], sp - dec h - rst $38 - nop - nop - jr nc, jr_00a_6136 - - ld d, b - add b - ld d, c - add b - ld d, a - add b - -jr_00a_617c: - ld c, a - sub b - cpl - ret nc - - ld l, $d0 - jr z, jr_00a_6154 - - inc d - dec bc - ld [hl], h - dec bc - -jr_00a_6188: - db $f4 - dec bc - or $09 - ld [$8a01], a - ld bc, $010a - inc c - inc bc - rst $38 - rst $38 - and b - and h - ld b, $95 - rlca - and b - ret nz - - rst $38 - rst $38 - -jr_00a_619f: - or b - ret nz - - rst $38 - -jr_00a_61a2: - rst $38 - xor a - ld [$03e0], sp - nop - inc a - nop - ld b, d - ld b, c - nop - add c - ld [bc], a - inc b - add c - inc c - call nz, $0509 - adc c - dec b - adc $c5 - dec b - ldh [$e0], a - daa - rst $38 - ld a, a - -Jump_00a_61bf: - add b - add b - adc [hl] - add b - sbc a - adc a - cp b - sbc b - cp c - sbc b - cp e - sbc b - add a - add c - adc a - add e - sbc a - add e - cp b - add b - or e - add e - and e - add e - jp $bf80 - - - ret nz - - rst $38 - ld a, a - rst $38 - cp $11 - rrca - add hl, sp - rlca - di - push bc - ld b, c - db $e3 - ld h, l - rla - pop hl - ld h, a - ret - - - rst $00 - add hl, de - rlca - dec sp - dec b - ld [hl], e - dec b - db $e3 - dec b - pop bc - rlca - adc c - rlca - pop af - rrca - rst $38 - cp $c0 - nop - ret nz - - rra - ld b, e - rst $08 - db $10 - rlca - rrca - db $10 - rrca - ldh a, [rTAC] - ld [$f807], sp - ld b, e - rst $20 - jr jr_00a_622b - - ldh [rNR23], a - ldh [$1f], a - jp nz, Jump_00a_6230 - - add b - adc h - ld [hl], b - ld d, c - adc [hl] - ld [c], a - ld bc, $000e - ld h, e - add b - ld b, b - sbc [hl] - ld de, $424e - ld bc, $0619 - -jr_00a_622b: - push bc - add h - rlca - daa - dec b - -Jump_00a_6230: - and $01 - nop - ld a, a - rst $38 - rst $38 - add $08 - ld d, d - nop - rst $38 - add e - dec b - sbc d - ld bc, $0080 - adc c - add hl, bc - and b - add e - dec b - ld l, d - ld bc, $00ff - add h - dec b - and h - nop - xor d - and h - add hl, bc - inc e - dec bc - nop - ei - nop - rst $18 - nop - db $fd - nop - cp a - nop - rst $30 - nop - cp $a3 - add hl, bc - db $d3 - add e - add hl, bc - rlc b - -jr_00a_6266: - nop - add a - rlca - db $db - ld c, $00 - nop - sbc [hl] - nop - jp nc, $ca00 - - nop - xor d - nop - and [hl] - nop - sub [hl] - nop - ld a, [c] - ret z - - ld [$0687], sp - sbc $de - sub d - jp nc, $f3bb - - and b - ld b, d - ret nz - - xor b - ld [bc], a - ret nz - - rst $38 - rst $38 - and l - ld a, [bc] - nop - ld bc, $030d - ld b, d - ld e, c - rlca - ldh [$29], a - rst $38 - rst $38 - ld a, [c] - or b - ld a, [c] - ld [c], a - db $e3 - and e - db $fc - cp h - ret z - - adc b - add sp, -$38 - ld sp, hl - or c - sbc $9e - ld b, d - or b - db $10 - ld [c], a - ld b, b - and e - ld b, b - cp h - ld b, b - adc b - jr nz, @-$36 - - ld c, b - or c - ld b, b - sbc [hl] - ld e, a - ld c, a - ld e, l - ld c, e - rst $30 - rst $28 - ld a, a - ccf - ld b, c - dec [hl] - inc de - ld de, $9fef - ld a, a - ld a, a - db $10 - ld c, a - ld [bc], a - ld c, c - ld [$40e7], sp - ccf - ld [hl+], a - ld de, $1102 - jr nc, jr_00a_6266 - - add a - add hl, bc - sbc [hl] - add e - ld b, $9f - ld bc, $5500 - add h - ld [$009b], sp - rst $38 - ld b, c - sbc d - ldh [rP1], a - add b - ld [hl+], a - rst $38 - ld bc, $75ca - add e - ld a, [bc] - ld [hl], b - ld bc, $ffff - ld b, c - or l - dec bc - and e - ld a, [bc] - db $76 - ld bc, $562b - add e - ld a, [bc] - add b - ld bc, $ffff - ld b, c - ld h, [hl] - ld [hl+], a - ld [bc], a - rst $38 - rst $38 - jr jr_00a_634d - - ld [$00fb], sp - ld [$ff23], sp - ld b, $e6 - ld [hl], d - xor $72 - rst $38 - rst $38 - call nc, $e441 - db $dd - nop - db $e4 - inc hl - rst $38 - ld b, c - ld [hl], a - ld l, $06 - rst $38 - rst $38 - ld a, e - rla - ei - rla - di - add e - ld [bc], a - push hl - inc c - rst $38 - add b - add b - sbc a - sbc a - and c - cp a - cp l - and d - cp b - and l - or b - xor d - ld b, c - and b - or h - inc c - or b - xor d - or b - and l - or b - and d - cp [hl] - and c - cp a - sbc a - ret nz - - cp a - -jr_00a_634d: - ld a, a - and e - ld a, [bc] - cp a - nop - inc bc - jp $3002 - - - ld [$45bf], sp - rrca - and l - rlca - ld d, l - rlca - dec l - rlca - call nz, $ef0a - add hl, bc - rlca - ld b, l - ld a, a - add l - ei - db $fd - ld bc, $feff - rst $38 - add l - ld a, [bc] - ld l, h - ld a, [bc] - nop - rst $38 - cp l - ld b, d - nop - and l - nop - ld e, d - nop - inc h - nop - add $0b - rrca - ld bc, $817e - add e - rlca - pop de - ld bc, $ffff - add a - ld a, [bc] - ret nc - - nop - or b - call nz, $d70a - ld bc, $b4a0 - add a - ld a, [bc] - ldh a, [rP1] - rlca - add $0a - rst $30 - inc h - nop - ret z - - add hl, bc - dec de - inc bc - rst $38 - nop - add sp, -$10 - and e - ld b, $94 - nop - nop - add a - ld bc, $af9e - dec bc - ld c, a - ld [bc], a - nop - rla - rrca - jp $bd06 - - - nop - rst $38 - ret z - - ld b, $ba - xor a - dec bc - ld [hl], b - rst $38 - dec h - nop - add hl, de - inc bc - inc bc - dec b - rlca - ld [$0e0f], sp - rrca - rra - inc de - cpl - dec a - ccf - dec h - dec a - daa - cpl - ccf - ld a, [de] - dec e - rra - db $10 - rla - jr @+$11 - - rrca - inc hl - nop - dec b - dec e - dec e - ccf - inc hl - ld e, a - ld a, c - ld b, c - ld a, a - ld c, l - ld de, $795f - ccf - inc hl - ld e, [hl] - ld a, a - cp l - db $d3 - cp $a1 - ld a, a - ld h, b - ld a, [hl] - ld b, c - ld e, l - ld h, e - ld a, $3e - add a - nop - nop - inc de - -Jump_00a_6401: - dec c - rrca - dec bc - inc c - rla - jr jr_00a_641c - - rra - rla - rra - dec e - ld e, $1e - rra - inc de - rra - dec bc - rrca - dec b - rlca - jp $0700 - - - rra - add hl, bc - add hl, bc - ld e, [hl] - -jr_00a_641c: - ld e, [hl] - xor $f2 - ld a, a - sub e - cp d - -Call_00a_6422: - adc $7e - add $ff - inc hl - db $fd - inc de - ld a, c - adc a - db $fd - add a - jp c, Jump_00a_6de6 - - or e - or l - ei - sbc c - rst $28 - add $fe - ld a, b - ld a, b - dec h - nop - inc de - rlca - rlca - ld [$170f], sp - inc e - rla - ld a, [de] - ld d, $19 - rla - jr @+$0d - - inc c - add hl, bc - ld c, $06 - rlca - ld bc, $3501 - nop - ld de, $3f3f - ld e, a - ld h, b - cp a - ret nz - - cp a - cp $9f - -Jump_00a_645c: - ldh [$bf], a - rst $38 - or b - rst $38 - ld a, a - ld a, a - rlca - -Call_00a_6464: - rlca - add e - nop - ld c, d - db $10 - cpl - jr nc, jr_00a_649b - - jr c, jr_00a_64cd - - ld [hl], h - ld e, a - db $76 - ld e, [hl] - ld [hl], a - ld e, a - ld [hl], e - ld c, a - ld a, [hl] - ld b, a - ld a, b - ld b, e - ld b, c - ld a, a - ld e, h - inc b - ld a, a - jr nz, jr_00a_64c0 - - rra - rra - add a - nop - ret nz - - ld [bc], a - add hl, sp - inc l - ld e, a - ld b, d - ld [hl], h - ld a, a - ld b, $64 - ld e, a - ld a, b - ld e, a - ld h, b - ld h, a - ld a, b - ld b, c - ld e, e - ld a, h - inc bc - inc hl - inc a - -jr_00a_649b: - rra - rra - xor b - nop - ret nz - - nop - inc c - ld c, b - ld a, [c] - ld c, $e0 - inc hl - db $e4 - inc e - ld hl, sp-$08 - inc bc - inc bc - dec c - ld c, $13 - inc e - daa - ccf - ld [hl+], a - ccf - jr nz, jr_00a_64f6 - - inc hl - ld a, a - ld h, l - ld a, [hl] - and l - rst $38 - sub h - rst $38 - ld d, e - -jr_00a_64c0: - rst $38 - adc b - rst $38 - sub a - rst $38 - ld d, d - ld a, a - ld [hl-], a - ccf - dec c - dec c - dec l - -Call_00a_64cc: - nop - -jr_00a_64cd: - ldh [rKEY1], a - rrca - rrca - scf - jr c, jr_00a_6517 - - ld a, h - ld c, a - ld a, a - ld b, d - ld a, a - ld h, b - ld a, a - cp a - rst $38 - sub d - rst $38 - ld l, l - ld l, a - ld h, c - ld h, c - or $97 - add sp, -$61 - adc a - rst $38 - ld d, l - ld a, a - ld d, b - ld a, a - ld c, a - ld a, a - ld d, [hl] - ld a, c - sbc [hl] - push af - sub h - rst $38 - sub b - -jr_00a_64f6: - rst $38 - sbc a - rst $38 - ld h, l - ld a, a - inc l - ccf - add hl, sp - ccf - rlca - rlca - ldh a, [$f0] - inc c - db $fc - ld [bc], a - cp $9a - and $3d - jp $e719 - - - ld bc, $81ff - rst $38 - add [hl] - cp $8f - ld sp, hl - sub e - db $fd - -jr_00a_6517: - ld de, $f2ff - cp $92 - cp $a3 - ld bc, $057c - inc bc - inc bc - inc c - rrca - db $10 - rra - add e - ld bc, $1026 - ld h, b - ld a, a - db $e3 - cp a - and a - db $fc - ld h, a - ld a, l - dec [hl] - ccf - ld d, h - ld a, a - ld e, e - ld a, a - ld e, h - ld a, a - ld d, e - add e - -jr_00a_653d: - ld bc, $123b - rrca - ldh [$e0], a - jr jr_00a_653d - - inc b - db $fc - or $ce - cp a - ret - - - dec bc - db $fd - adc c - rst $38 - ret - - - ld a, a - jp z, Jump_00a_417e - - ld d, d - cp $09 - and d - cp $72 - cp $cc - db $fc - ld h, h - db $fc - sbc b - ld hl, sp+$27 - nop - rla - ld e, $1e - dec h - ccf - ld d, d - ld l, a - ld e, d - ld h, a - adc e - rst $30 - and d - rst $38 - sbc l - cp $d7 - cp h - cp d - db $dd - ld c, c - ld a, a - cp d - rst $38 - rst $20 - rst $20 - daa - nop - ldh [$5d], a - ld h, b - ld h, b - sub b - ldh a, [$78] - ld hl, sp-$3c - db $fc - dec [hl] - call $07fb - pop af - rra - ld de, $c2ef - cp $86 - cp $1d - rst $38 - ei - ei - ld c, $0e - dec a - inc sp - ld d, c - ld l, a - ld c, [hl] - ld a, [hl] - sbc a - pop af - xor a - db $fc - cp a - and $7f - ld h, [hl] - ld l, a - ld a, h - ccf - ld sp, $7f5f - ld e, [hl] - ld h, c - ld e, b - ld h, a - jr nz, jr_00a_65f3 - - ld d, c - ld a, a - ld l, [hl] - ld l, [hl] - nop - nop - ld a, [de] - ld a, [de] - dec h - ccf - ld b, l - ld a, a - sub c - rst $28 - xor l - db $db - db $ed - sbc e - db $fd - add e - cp e - rst $10 - add d - cp $44 - db $fc - cp b - ld hl, sp+$24 - db $fc - ld a, [$2afe] - cp $d6 - sub $07 - rlca - ld a, h - ld a, a - or a - rst $08 - ld b, c - rst $30 - adc a - db $10 - or $8f - sbc a - ld sp, hl - ld a, a - ld h, c - ld e, a - ld [hl], b - ld e, a - ld h, b - ccf - ld h, b - cpl - jr nc, jr_00a_6609 - - rra - rlca - -jr_00a_65f3: - add h - nop - rra - dec bc - jp $35c3 - - - rst $30 - sbc c - rst $38 - push hl - rst $38 - add [hl] - cp $f5 - rst $38 - ld b, c - ld [hl], l - sbc a - dec bc - rst $20 - rst $38 - -jr_00a_6609: - db $e4 - inc e - ret z - - inc a - adc b - ld a, b - jr nc, @-$0e - - ret nz - - ldh [$85], a - ld bc, $154a - inc [hl] - ccf - ld e, e - ld h, a - rst $38 - add e - cp e - rst $00 - xor l - sbc $df - ldh a, [$7f] - ld h, b - ld e, a - ld l, b - ld e, a - ld h, b - ccf - jr nz, jr_00a_665a - - ld sp, $0287 - ld a, b - ld bc, $8080 - and e - nop - inc c - dec b - db $fc - call nz, Call_00a_6cb4 - sbc h - ld a, h - ld b, d - jp z, $093e - - jp nc, $943e - - ld a, h - inc h - db $fc - ld a, h - db $e4 - sbc b - ret c - - add l - nop - add d - add hl, de - jr jr_00a_6670 - - cpl - jr nc, jr_00a_66d3 - - ld b, b - ld e, a - ld h, e - ld d, [hl] - ld l, a - ld l, a - -jr_00a_665a: - ld a, b - rst $38 - ld a, [c] - rst $38 - and b - xor a - ldh a, [rPCM34] - ld a, b - jr @+$21 - - rrca - rrca - inc b - rlca - jp $c300 - - - dec bc - ret nz - - ret nz - - or [hl] - -jr_00a_6670: - or $fb - db $fd - adc e - db $fd - res 7, l - push hl - rra - ld b, d - ld [c], a - -jr_00a_667b: - ld e, $0b - call nz, $843c - ld a, h - jr jr_00a_667b - - add sp, -$08 - db $10 - ldh a, [$e0] - ldh [$c7], a - nop - and b - add hl, de - inc bc - inc bc - inc b - rrca - add hl, bc - ld c, $13 - inc e - inc d - dec sp - ld hl, $233e - inc a - inc h - ld a, e - ld b, c - ld a, [hl] - ld b, a - ld a, b - add sp, -$09 - and a - ld hl, sp-$11 - or b - add e - ld bc, $1be6 - ld hl, $ffbf - pop bc - cpl - pop af - rra - pop af - rst $10 - add hl, sp - ld l, a - sbc c - adc c - ld a, a - rst $08 - ccf - dec h - rst $18 - sub $2e - ld h, [hl] - sbc [hl] - sub [hl] - ld l, a - rst $20 - rra - rst $38 - rlca - xor c - inc bc - jr nz, jr_00a_66ce - - db $10 - ldh a, [$fe] - -jr_00a_66ce: - ld a, [hl] - ld b, c - rst $38 - add c - ld a, [bc] - -jr_00a_66d3: - pop hl - ld a, a - ld sp, $d9df - cpl - ld l, c - sbc a - sub l - ld l, a - and $8e - inc bc - ld e, l - ld c, $d0 - jr nc, jr_00a_6753 - - sbc [hl] - adc c - ld a, a - call $253f - rst $18 - push de - cpl - ld h, a - sbc a - sub a - add [hl] - inc bc - ld a, e - dec e - rra - ccf - ldh [rIE], a - nop - rst $38 - rra - ldh [$f0], a - rrca - rrca - ldh a, [rIE] - nop - ldh [$1f], a - rra - ldh [rIE], a - ld bc, $3fff - rst $38 - ld [hl], b - rst $38 - ld h, a - ei - inc c - rst $38 - ld hl, sp-$7d - inc bc - and b - dec bc - ei - db $fc - dec sp - db $fc - rst $38 - rst $20 - rst $30 - ld a, b - rra - rst $38 - rst $38 - ld bc, $0384 - or b - inc b - nop - rst $38 - nop - nop - rst $38 - ld b, d - rst $38 - nop - inc c - ei - rst $00 - rst $30 - rst $28 - sbc l - cp $eb - sbc h - sbc e - db $fd - ei - rst $38 - sbc a - inc h - rst $38 - ld a, [bc] - cp $ef - rst $38 - add $ff - ld [bc], a - inc bc - cp $fd - inc bc - db $fc - ld b, c - nop - rst $38 - -jr_00a_674e: - ld b, $f8 - ccf - db $fc - cp a - -jr_00a_6753: - ld a, a - ld a, [hl] - rst $38 - ld b, c - rst $38 - cp $12 - cp $ff - rst $38 - cp $6f - sbc [hl] - ld [hl], h - rst $38 - push af - cp $67 - db $fc - ld [hl], a - adc h - ld a, e - adc h - ld l, a - ldh a, [rIE] - add [hl] - inc bc - rra - ld [$e7e3], sp - sub a - db $f4 - xor $9d - db $fd - rst $38 - adc a - jr z, @+$01 - - dec b - rst $30 - rst $30 - db $e3 - db $e3 - ld bc, $8501 - nop - sbc b - inc b - ld hl, sp-$08 - call c, Call_00a_7e3c - push bc - inc bc - ld a, [c] - ld a, [bc] - rst $38 - rst $20 - rst $18 - ei - cp a - ei - ld a, a - rst $38 - ld a, a - cp d - ld a, [hl] - ld b, d - cp d - ld b, [hl] - ld l, $00 - ld e, $1c - inc d - ld [hl+], a - ld [hl+], a - ld b, c - nop - ld b, c - inc d - ld b, c - inc e - ld h, e - ld [$0055], sp - dec d - dec c - ld d, b - nop - inc d - ld [$1014], sp - inc b - ld [$0414], sp - db $10 - ld [$1814], sp - inc b - add e - inc b - add b - ld [bc], a - nop - inc d - jr jr_00a_674e - - inc b - add l - add e - inc b - add h - cpl - nop - add e - inc bc - reti - - - inc bc - add a - rra - cp a - ld a, a - -jr_00a_67d7: - ld b, c - ld a, a - rst $38 - ldh [rNR44], a - ccf - ld a, a - rlca - rra - ld b, h - jr c, jr_00a_680d - - ld [hl], b - ld c, b - jr nc, jr_00a_6849 - - ld d, b - ld c, b - jr nc, @+$1a - - ld h, b - ld l, l - jr nc, jr_00a_6859 - - ld d, h - ld c, h - jr nc, jr_00a_6807 - - ld l, b - ld e, b - jr nz, jr_00a_682b - - jr z, jr_00a_684d - - jr z, jr_00a_6806 - - jr nc, @+$70 - - jr nc, jr_00a_6818 - - inc l - -Jump_00a_6800: - add [hl] - ld bc, $0548 - rra - rra - -jr_00a_6806: - ccf - -jr_00a_6807: - ccf - ld a, a - ld a, a - and h - inc b - add hl, bc - -jr_00a_680d: - ld bc, $ffbf - ld b, e - rst $38 - cp a - ld bc, $ffff - rst $00 - inc b - -jr_00a_6818: - or c - inc bc - ld b, b - add b - ret nz - - ldh [rSTAT], a - ldh [$f0], a - ld b, $f0 - ld sp, hl - pop af - ld sp, hl - rst $38 - ei - ei - ld h, $ff - -jr_00a_682b: - and h - inc b - cp b - ld a, [bc] - inc bc - di - rrca - rst $38 - inc e - db $e4 - jr c, jr_00a_67d7 - - ld [hl], b - or b - ld h, b - ld b, e - ld h, b - ret nz - - ld c, $b0 - ld h, b - and b - ld [hl], b - db $e4 - jr c, @+$01 - - inc e - di - rrca - db $fc - -jr_00a_6849: - inc bc - ret nz - - rst $38 - ret nz - -jr_00a_684d: - ld b, c - add b - nop - ld b, $80 - inc bc - add b - rlca - add e - ld c, $87 - ld b, c - -jr_00a_6859: - dec c - add [hl] - inc bc - ld c, $87 - rlca - add e - add $05 - ld c, b - inc bc - add b - ret nz - - rst $38 - nop - add [hl] - inc b - ld e, $05 - inc a - nop - rst $38 - inc a - jp Jump_00a_41ff - - - inc a - jp $c304 - - - rst $38 - rst $38 - inc a - inc a - adc c - inc b - xor b - inc b - rst $38 - rst $38 - nop - ld e, d - and l - ld b, d - and h - ld e, e - ld bc, $ad52 - call nz, $ff04 - ld [bc], a - ret nz - - adc d - push af - ld b, d - sub h - db $eb - rrca - adc d - push af - rst $38 - rst $38 - rra - ld c, $11 - rra - ld h, [hl] - add hl, sp - ld c, b - ld [hl], b - ret nc - - ld h, b - ld d, b - ldh [rSCX], a - and b - ret nz - - ld [de], a - sub b - ldh [$5a], a - ldh [$cd], a - ld [hl], d - ld h, e - ld a, [hl] - ccf - ccf - ld a, [bc] - rlca - rst $38 - ld a, [hl] - db $dd - db $e3 - and d - pop bc - ld b, b - xor [hl] - nop - sbc b - ldh [rNR41], a - inc b - nop - ld a, [bc] - inc b - push af - ld c, $0c - rst $38 - ei - rst $38 - inc bc - rlca - inc e - rra - daa - jr c, jr_00a_6922 - - ld h, b - ld b, b - ld h, b - ld h, e - ret nz - - rst $28 - ret nz - - rst $38 - ret nz - - nop - ldh [$e0], a - inc e - inc e - inc bc - inc bc - cpl - nop - inc b - ret nz - - ret nz - - jr nz, jr_00a_6909 - - db $10 - ld b, c - db $10 - ld [$0841], sp - inc b - ld b, d - inc b - ld [bc], a - ld b, d - ld [bc], a - ld bc, $3ff4 - dec b - jr nz, jr_00a_693c - - ld b, $83 - ld b, e - dec c - add [hl] - ld b, c - ld b, $83 - xor a - ld b, $60 - inc hl - rst $38 - ld b, e - -jr_00a_6909: - add d - ld bc, $ff25 - inc bc - db $fd - inc bc - ld e, c - and a - ld b, d - and l - ld e, e - and e - dec b - sbc h - add hl, bc - ld a, b - ld [hl], b - adc h - db $fc - ld h, d - sbc [hl] - dec bc - add [hl] - adc d - -jr_00a_6922: - rlca - ld b, l - dec b - inc bc - dec c - dec c - inc bc - ld a, [hl-] - rlca - and $1e - ld hl, sp-$04 - ld l, b - ldh a, [rIE] - nop - db $10 - rst $28 - ld b, e - jr z, jr_00a_693c - - ld b, $24 - jr jr_00a_6974 - -jr_00a_693c: - inc b - add sp, -$21 - call nz, $bf41 - -jr_00a_6942: - rst $00 - nop - cp h - ld b, c - ld c, h - ei - ld b, c - jr c, jr_00a_6942 - -jr_00a_694b: - nop - rst $38 - ret z - - inc b - or e - ld b, d - rst $38 - nop - and e - dec b - ldh [rTAC], a - call nz, Call_00a_723c - ld c, $3a - ld b, $fa - rlca - ld b, c - -jr_00a_6960: - rst $38 - -jr_00a_6961: - inc bc - inc c - nop - inc bc - nop - inc c - nop - db $10 - ld bc, $0720 - ld b, b - rra - add b - ccf - ld b, d - add b - ld a, a - inc c - -jr_00a_6974: - add b - dec a - jp nz, Jump_00a_42bd - - jr c, jr_00a_69c2 - - jr c, jr_00a_69c1 - - jr jr_00a_69a3 - - nop - jr jr_00a_694b - - dec b - ret nc - - ld b, $c0 - ld b, b - or b - ld [hl], b - ld c, a - cp a - -jr_00a_698b: - rst $38 - adc d - -jr_00a_698d: - ld b, $e3 - ldh [rNR44], a - xor d - ld d, l - ld d, l - xor d - rst $38 - ld a, a - add b - ret nz - - sbc a - sbc a - cp a - cp a - or b - cp a - and a - cp b - xor a - or c - -jr_00a_69a3: - xor a - or d - xor a - or h - xor a - cp b - cp a - or b - xor a - or c - xor [hl] - or e - cp a - sbc a - add b - cp a - rst $38 - ld a, a - and e - ld [bc], a - cp a - and e - ld b, $0e - rra - jr jr_00a_69de - - nop - ld a, a - ld b, b - -jr_00a_69c1: - add b - -jr_00a_69c2: - nop - rst $38 - nop - ldh a, [rNR10] - pop hl - jr nz, jr_00a_698d - - ld h, b - add a - ld h, b - adc a - ld h, b - sbc [hl] - ld b, b - cp h - nop - ld hl, sp+$17 - ret z - - dec sp - add h - jr c, jr_00a_6961 - - jr c, jr_00a_6960 - - ld b, c - or e - -jr_00a_69de: - ld c, b - ld b, c - rst $00 - jr nc, jr_00a_698b - - dec b - rst $38 - ld b, $00 - inc e - inc bc - ldh [rNR32], a - nop - ldh [$bf], a - ld b, $00 - ld b, d - ld b, b - add b - ld b, d - jr nz, jr_00a_6a36 - - ld b, c - db $10 - jr nz, jr_00a_6a3b - - ld [$0310], sp - inc b - ld [$0403], sp - rst $00 - rlca - sbc c - dec d - ld [hl+], a - pop bc - ld b, d - add c - ld c, b - add a - ld [bc], a - pop bc - ld b, b - add e - ld [de], a - pop hl - ld b, d - add c - ld b, h - add e - nop - ld e, $00 - ld h, c - ld e, $40 - ld b, e - ld a, a - add b - dec bc - ld l, a - sub b - dec b - ld a, [$0e01] - nop - ld bc, $00f8 - rst $38 - nop - ld b, d - cp $01 - ld b, c - call c, $0922 - adc c - db $76 - add c - ld e, d - -jr_00a_6a36: - ld bc, $0182 - ld [bc], a - nop - -jr_00a_6a3b: - ld bc, $00cb - and e - dec b - inc bc - ld [bc], a - inc c - rrca - push af - ld a, [$0042] - rst $38 - ld [bc], a - xor d - rst $38 - ld d, l - add e - ld [$8435], sp - inc bc - xor $1b - -jr_00a_6a54: - inc bc - ld bc, $f9ff - rst $38 - db $fd - ld b, a - db $fd - rst $30 - adc l - rst $38 - dec c - rst $30 - dec e - rst $28 - dec [hl] - rst $18 - ld h, l - cp a - push bc - ld a, a - add l - rst $30 - dec c - rst $38 - ld sp, hl - inc bc - rst $38 - and l - rlca - ld e, [hl] - ld e, $30 - ld [$0418], sp - jr c, @+$06 - - nop - cp $0e - ld bc, $ff00 - ld c, $f1 - ld c, $e1 - inc c - jp $8708 - - - nop - rrca - nop - rra - ld [bc], a - dec a - ld b, $79 - rst $38 - rst $38 - rst $38 - adc d - inc b - xor c - ret - - - inc b - or c - ld bc, $0055 - add $07 - inc a - inc bc - rlca - rlca - jr c, jr_00a_6ad4 - - xor d - dec b - push af - cp a - rlca - ret nz - - xor c - rlca - sub b - nop - jr nc, jr_00a_6a54 - - rlca - sbc e - dec b - rst $30 - nop - ld a, a - nop - db $fd - nop - and l - ld [$02e0], sp - ei - nop - rst $18 - inc hl - nop - add hl, bc - add c - nop - ld b, d - nop - inc h - add c - inc h - jp $e718 - - - ld b, c - ld [$07c3], sp - inc a - add c - ld h, [hl] - -jr_00a_6ad4: - nop - jp $8118 - - - inc a - ld b, c - add c - ld a, [hl] - ld bc, $7e00 - ld b, l - nop - rst $38 - ld c, $00 - jp $003c - - -jr_00a_6ae7: - jp $24c3 - - - sbc e - ld b, h - sbc l - ld b, d - dec a - add d - inc a - add e - ld b, h - ld a, $81 - ld b, c - ld a, [hl] - add c - rlca - ld a, $c1 - cp h - ld b, d - call c, $c122 - inc a - ld b, d - rst $38 - ret nz - - add hl, bc - rst $28 - ret nc - - rst $28 - reti - - - db $dd - rst $38 - rst $28 - rst $38 - ld h, a - ld l, a - xor a - add hl, bc - ld b, b - inc bc - nop - ld a, [hl] - inc h - jp $4241 - - - add c - rlca - inc h - jp Jump_00a_7e00 - - - ld [$2c66], sp - ld b, d - jp $1e08 - - - ld [$0400], sp - nop - ld [$1000], sp - nop - jr nz, jr_00a_6b30 - -jr_00a_6b30: - and e - ld [$011b], sp - rst $38 - xor d - ld b, [hl] - nop - rst $38 - ld d, $ff - cp $03 - dec c - cp $33 - db $fc - adc $f0 - add hl, sp - ret nz - - rst $20 - nop - rra - nop - jp hl - - - rst $18 - add $bf - -jr_00a_6b4d: - call $f3be - cp h - add l - add hl, bc - sbc b - ld [bc], a - rlca - db $10 - -jr_00a_6b57: - ld bc, $0162 - ld b, $0d - ld c, $33 - inc a - adc $f0 - jr c, jr_00a_6ae7 - - ld [bc], a - sbc d - ld b, c - inc [hl] - ret nz - - inc bc - jr c, @-$3e - - jr jr_00a_6b4d - - ld b, c - ld e, b - and b - ld b, c - ld [hl], h - add b - dec b - ld bc, $23fe - call c, $d42b - ld b, c - dec bc - db $f4 - add hl, bc - jr z, jr_00a_6b57 - - dec h - jp c, $fb04 - - ld a, a - ld a, a - rst $38 - ret nz - - ld b, d - ret nz - - add b - ld [bc], a - rst $38 - rst $38 - ld b, b - ld [hl+], a - ld a, a - db $f4 - cpl - rlca - ldh a, [rSTAT] - di - ld [$8717], sp - ld a, b - scf - adc b - ld a, e - inc b - ld a, b - rlca - ld sp, hl - inc b - ld a, c - add h - inc bc - ld hl, sp+$27 - sub b - ld h, a - db $10 - ld [hl], a - ld [$0b74], sp - ldh a, [$0c] - ld b, c - di - ld [$ff42], sp - nop - -jr_00a_6bb7: - ld de, $837d - cp e - rst $00 - rst $00 - rst $38 - cp $ff - ld a, h - rst $38 - ld h, d - add c - ld b, [hl] - add c - ld h, d - add c - ld b, [hl] - add c - add a - ld a, [bc] - ld d, b - nop - rst $38 - daa - rst $28 - ld [bc], a - -jr_00a_6bd2: - rst $00 - rst $10 - rst $00 - ld b, c - rst $00 - rst $10 - ld de, $83d7 - cp e - add e - add e - xor e - and e - add hl, bc - ld c, l - ld bc, $4509 - ld c, c - dec b - add hl, bc - inc b - nop - rra - add h - add hl, bc - ld a, d - rlca - ld b, b - dec [hl] - ld b, b - rrca - jr nc, jr_00a_6bf5 - -jr_00a_6bf5: - rrca - nop - or b - add hl, bc - adc a - rlca - add sp, -$21 - ld b, h - rst $38 - or a - ld a, a - rst $08 - inc a - add e - ld a, [bc] - sbc b - inc bc - rst $00 - jr nz, jr_00a_6bd2 - - jr nc, jr_00a_6bb7 - - add hl, bc - or b - add e - dec b - or $03 - ld e, [hl] - ld bc, $013e - ld b, c - inc a - inc bc - inc bc - ld a, h - inc bc - ld e, b - rlca - ld b, c - ld e, d - dec b - cp a - add hl, bc - ret nc - - push bc - ld [$029c], sp - sbc c - nop - ld b, h - add [hl] - ld [$bfd0], sp - rlca - nop - ld b, e - ld [$1710], sp - nop - jr c, jr_00a_6c40 - - ld d, h - ld [$0893], sp - db $10 - add hl, bc - inc b - ld c, c - -jr_00a_6c40: - dec b - add hl, bc - ld b, l - ld c, l - ld bc, $09a3 - add e - xor e - cp e - add e - rst $10 - add e - add h - ld a, [bc] - ld l, h - ld bc, $efc7 - add $0a - ld l, c - ld a, [bc] - rst $38 - rst $28 - rst $30 - rrca - rst $18 - ccf - cp a - ld a, a - rst $38 - ld a, a - ld a, a - and [hl] - inc b - ld sp, $0baf - ld d, b - ld b, $fc - ld hl, sp-$40 - ldh [$80], a - ret nz - - add b - and a - inc b - inc a - nop - nop - xor a - dec bc - ld [hl], b - rst $38 - dec bc - ld bc, $4500 - nop - ld b, h - ld bc, $4104 - inc d - ld b, c - db $10 - ld b, l - ld b, c - nop - ld d, l - add hl, bc - ld bc, $4054 - inc d - ld b, h - db $10 - inc b - stop - db $10 - ld b, c - stop - dec de - nop - nop - rra - rra - cpl - jr nc, @+$60 - - ld h, a - ld a, [hl] - ld b, a - ld [hl], a - ld c, h - ld c, e - ld a, l - ld [hl], a - ld e, b - rst $38 - sub [hl] - rst $38 - sub d - sub a - cp $eb - db $ec - dec c - ld c, $0b - rrca - -Call_00a_6cb4: - ld b, c - add hl, bc - ld c, $01 - rlca - rlca - cp a - nop - jr nz, jr_00a_6cbf - - rlca - -jr_00a_6cbf: - rlca - ld b, c - dec b - ld b, $07 - inc bc - inc bc - ld a, l - ld a, [hl] - adc e - cp $97 - ei - ld b, c - rst $38 - sub b - rlca - sub a - ei - adc e - cp $7d - ld a, [hl] - inc bc - inc bc - ld b, c - dec b - ld b, $0f - rlca - rlca - add b - add b - db $fc - ld a, h - jp c, $dd26 - - db $e3 - xor a - ld [hl], c - rst $18 - cp l - rst $38 - adc l - -jr_00a_6cec: - ld b, c - di - dec l - dec bc - rst $38 - adc l - rst $18 - cp l - xor a - ld [hl], c - db $dd - db $e3 - jp c, $fc26 - - ld a, h - jp $8100 - - - rra - rrca - inc c - rrca - ld c, $fb - cp $87 - db $fc - ld a, a - ld a, a - -jr_00a_6d0a: - add b - rst $38 - ret nz - - rst $38 - ld b, c - ld a, a - ld h, c - ld a, a - rra - rra - dec b - rlca - ld [bc], a - inc bc - inc bc - ld [bc], a - ld [bc], a - inc bc - ld bc, $8001 - add b - ld [hl+], a - ret nz - - ldh [$58], a - ld b, b - ld b, h - call nz, $fefa - xor $9a - or $8e - di - adc a - ld a, a - add l - db $ed - rla - rst $38 - rla - db $f4 - inc e - ret c - - jr c, jr_00a_6d0a - - jr nc, jr_00a_6cec - - ld [hl], b - ret nz - - ret nz - - nop - nop - rlca - rlca - ld c, a - ld c, h - xor a - xor $db - cp $27 - inc a - dec de - rra - ld b, $07 - inc b - rlca - ld [$100f], sp - rra - jr nz, @+$41 - - ld b, c - ld a, a - ld b, a - ld a, a - inc a - inc a - nop - nop - ld [hl], b - ld [hl], b - ld c, b - ld a, b - call nc, $f4ec - ld c, h - ld a, [hl] - add $ff - push bc - cp e - call $c9f7 - ld a, a - pop bc - ld e, [hl] - ld [c], a - or [hl] - adc $fd - adc e - ld a, d - add [hl] - or h - call z, $f8f8 - add e - nop - cp $03 - ld e, h - ld a, h - ld b, e - ld a, a - ld b, c - jr nz, jr_00a_6dc7 - - ld b, c - ld c, c - ld a, a - dec b - adc c - rst $38 - ldh [$9f], a - xor a - rst $18 - ld b, c - adc a - ld sp, hl - ld de, $7f46 - jr nz, jr_00a_6dd9 - - jr jr_00a_6dbb - - rrca - rrca - rlca - rlca - ld a, l - ld a, a - add c - rst $38 - ld b, $fe - ld c, $fe - ld b, d - inc b - db $fc - ld b, c - ld h, h - sbc h - ld b, c - inc b - db $fc - rlca - inc c - db $fc - ld [$70f8], sp - ldh a, [$c0] - ret nz - - dec h - -jr_00a_6dbb: - nop - db $10 - inc e - inc e - inc hl - ccf - ld b, b - ld a, a - and b - rst $38 - jp hl - - - rst $38 - -jr_00a_6dc7: - ld c, c - ld a, a - jp hl - - - sbc a - ldh [$9f], a - adc a - ld b, c - rst $38 - add b - inc b - rst $38 - ld b, b - ld a, a - ccf - ccf - dec h - nop - -jr_00a_6dd9: - nop - ldh a, [$a4] - nop - di - dec b - ld [bc], a - cp $09 - rst $38 - rlca - rst $38 - ld b, c - -Jump_00a_6de6: - ld h, d - sbc [hl] - ld b, d - ld [bc], a - cp $01 - inc b - db $fc - add e - ld bc, $e01c - ld sp, $0f0f - inc a - ccf - ld e, a - ld h, e - dec a - ld a, $5b - ld h, a - ld a, l - ld l, e - ld a, a - ld l, b - ld a, a - ld l, c - ld e, l - ld h, e - cp $bf - ldh a, [$bf] - ld hl, sp-$01 - ld a, h - ld c, a - ld l, e - ld [hl], a - inc e - inc e - rrca - rrca - ld d, $1b - dec sp - dec l - ld a, [hl] - ld d, l - ld a, l - ld d, a - ld a, a - ld d, d - ld a, [hl] - ld b, c - ccf - inc hl - rra - ld e, $11 - rra - ld b, c - jr nz, @+$41 - - rlca - db $10 - rra - rrca - rrca - add hl, de - ld d, $0f - rrca - dec h - nop - add hl, de - inc bc - inc bc - inc e - rra - jr nz, jr_00a_6e79 - - ld [hl], b - ld a, a - xor b - rst $18 - cp h - rst $00 - ld h, e - ld a, a - db $fc - rst $38 - ldh a, [$9f] - pop af - sbc a - ld a, a - ld a, a - dec l - inc sp - ld a, $3e - cpl - nop - inc bc - ld [bc], a - ld b, $0d - dec bc - jp $d901 - - - inc bc - ld e, a - ld h, b - ccf - jr nc, @-$7b - - ld bc, $0bde - ld bc, $0701 - rlca - add hl, de - ld e, $23 - inc a - ld [hl], a - ld c, b - cp a - ret nz - - ld b, c - xor a - ret nc - - ld b, $ff - rst $30 - adc c - adc c - ld bc, $0001 - inc h - -jr_00a_6e79: - ld bc, $0083 - cp h - add e - ld [bc], a - jr nz, jr_00a_6e86 - - ld a, [bc] - dec c - inc c - dec bc - add hl, de - -jr_00a_6e86: - ld d, $43 - dec de - inc d - ld b, $19 - ld d, $0b - rrca - dec b - dec b - nop - add [hl] - ld [bc], a - add hl, sp - daa - nop - ld [de], a - rrca - rrca - dec [hl] - dec sp - ld e, [hl] - ld h, d - cp d - add $fd - add e - rst $38 - add c - cp [hl] - jp nz, Jump_00a_645c - - jr z, @+$3a - - db $10 - add e - nop - inc e - inc b - nop - ldh [$e0], a - ret c - - cp b - ld b, c - call nc, $41bc - ret c - - cp b - rrca - call z, $f3bc - adc a - db $dd - db $e3 - ld a, [hl] - cp $1d - di - inc de - rst $38 - inc a - db $fc - ldh [$e0], a - and l - ld [bc], a - ld e, [hl] - rra - ret nz - - ret nz - - scf - rst $30 - dec de - db $fd - or [hl] - ld a, [$76ee] - rst $18 - jp hl - - - xor a - reti - - - ld a, $de - or h - call c, $ecdc - inc l - db $f4 - ld d, $fa - ld a, e - db $fd - rst $18 - xor a - ld a, h - ld a, h - ret nz - - ret nz - - and e - nop - ldh a, [$09] - rst $18 - rst $38 - push af - dec sp - ld a, [$ac66] - call c, $3cdc - ld b, c - cp h - ld h, h - add hl, bc - ret c - - cp b - -jr_00a_6f03: - ldh a, [$d0] - ld e, b - add sp, -$04 - db $e4 - ret c - - ld e, b - add l - ld [bc], a - sbc h - inc de - -jr_00a_6f0f: - jr @+$1a - - db $fc - db $e4 - inc a - db $e4 - jr jr_00a_6f0f - - jr nz, @-$1e - - ld a, h - db $fc - xor [hl] - ld a, [c] - ld d, $fa - inc e - db $fc - jr nz, jr_00a_6f03 - - and e - ld [bc], a - ld e, h - inc [hl] - nop - ld d, $01 - add b - add e - add hl, sp - rst $38 - ld a, [c] - ld c, $fc - inc c - ld [hl], b - ldh a, [rP1] - add b - nop - nop - inc c - inc c - ld a, [de] - ld e, $15 - rra - dec l - ccf - ld b, c - ld e, [hl] - ld a, a - dec c - ld b, b - ld a, a - ld c, h - ld [hl], e - adc [hl] - rst $38 - sbc $f3 - sbc [hl] - rst $38 - ld e, a - db $76 - ld c, a - ld a, h - and l - ld bc, $079c - ld [bc], a - ld [bc], a - dec b - rlca - add hl, bc - rrca - ld a, [bc] - rrca - ld b, c - ld [de], a - rra - rrca - ld [de], a - dec e - ld [de], a - rra - ld a, [bc] - rrca - ld a, [de] - rra - ld a, [bc] - rrca - rra - ld a, [de] - dec bc - inc c - inc b - rlca - and a - ld bc, $835e - inc bc - ld e, $0f - ld [de], a - ld e, $29 - ccf - ld e, h - ld a, e - ld b, b - ld a, a - sbc [hl] - rst $38 - sbc a - ldh [$60], a - ld a, a - ccf - ccf - ld sp, $0000 - jr c, jr_00a_6fcf - - nop - ld a, h - push de - inc bc - adc l - add [hl] - ld bc, $0a65 - sbc h - rst $38 - cp $eb - ld a, a - ld c, c - cp [hl] - db $eb - sbc h - rst $38 - add b - ld [hl+], a - rst $38 - inc de - ret nz - - rst $38 - ld h, b - ld a, a - rra - rra - ld h, b - ld h, b - ld d, b - ld [hl], b - ld c, b - ld a, b - ld b, a - ld a, a - ld a, h - ld a, a - ld a, $2b - ld a, a - ld c, c - add e - nop - xor d - add hl, bc - rst $38 - rst $38 - ld a, a - dec hl - ld a, a - ccf - ld a, a - ld a, a - ld e, [hl] - ld a, a - adc e - inc bc - ld [hl], h - rrca - inc l - ld a, [hl] - ld b, d - rst $38 - -jr_00a_6fcf: - cp l - jp $c3bc - - - dec a - jp $c3bd - - - ld b, d - rst $38 - inc [hl] - ld a, [hl] - dec hl - nop - and e - ld [bc], a - ret nz - - inc bc - add hl, bc - ld c, $0b - inc e - ld b, c - rla - jr jr_00a_6ff2 - - ld a, a - ld [hl], b - ccf - ld [hl], b - ld c, a - ld [hl], b - ld e, a - ld h, b - sbc a - -jr_00a_6ff2: - ldh [rSTAT], a - cp a - ret nz - - ld bc, $c0bf - dec hl - nop - dec c - rrca - adc a - cp b - rst $38 - ld l, h - di - sbc a - pop hl - cp [hl] - pop bc - rst $38 - add b - ld a, a - add b - ld b, d - rst $38 - nop - nop - nop - add h - nop - ret nz - - dec c - and b - ldh [$e3], a - or e - ld a, h - rst $38 - or c - cp $cf - ldh a, [$bf] - ret nz - - ld a, a - add b - ld b, h - rst $38 - nop - nop - rst $38 - adc l - inc bc - inc b - add hl, bc - ld bc, $0303 - ld a, d - rst $38 - ld a, h - ld b, a - scf - inc a - rrca - ld b, e - inc c - dec bc - nop - inc c - xor a - inc b - ld e, a - dec c - ld h, b - ldh [rSVBK], a - ld d, b - jr c, jr_00a_70ab - - ccf - ccf - ld h, b - ld a, a - ld e, a - ld h, c - cp a - ret nz - - adc c - inc b - ld a, $12 - ldh [$b0], a - ld [hl], b - ret nc - - ld [hl], b - ld e, b - ld a, b - -jr_00a_7056: - ld c, b - ld e, b - ld l, b - ld a, $3e - ld h, c - ld a, a - rst $18 - ldh [$bf], a - ret nz - - ld a, a - add h - inc b - scf - rrca - rst $30 - rrca - db $db - inc a - xor a - ld [hl], b - rst $18 - ld h, b - ld a, a - ret nz - - rst $28 - sbc a - rst $18 - cp a - cp a - db $e3 - ld b, d - rst $38 - pop bc - add hl, bc - ld a, a - ld [c], a - rst $38 - ld a, a - or l - ld a, a - rst $18 - ccf - rst $30 - rrca - xor c - inc b - ret nz - - inc b - ld a, l - add e - cp a - pop bc - -jr_00a_708c: - rst $18 - ld b, c - pop hl - rst $38 - inc c - pop hl - db $fd - ld h, e - cp $23 - db $db - ld h, [hl] - or l - adc $5b - cp h - rst $28 - ldh a, [rVBK] - rst $38 - nop - dec b - nop - rlca - rlca - jr jr_00a_70bf - - jr nz, jr_00a_70ea - - jr nz, jr_00a_70eb - -jr_00a_70ab: - ld b, d - ld b, b - add b - add hl, bc - ld hl, sp+$07 - rst $20 - jr jr_00a_708c - - jr nz, jr_00a_7056 - - ld b, b - -jr_00a_70b7: - and b - ld b, b - ld b, l - ld b, b - add b - ld b, c - jr nz, jr_00a_70ff - -jr_00a_70bf: - dec b - jr jr_00a_70e2 - - rlca - jr jr_00a_70c5 - -jr_00a_70c5: - rlca - ld b, d - ld b, b - add b - ld b, c - -jr_00a_70ca: - and b - ld b, b - dec b - ret c - - jr nz, jr_00a_70b7 - - jr jr_00a_70ca - - rlca - db $f4 - ccf - dec b - jr nz, jr_00a_70dc - - ldh [$1f], a - sbc a - ld h, b - -jr_00a_70dc: - ld h, b - adc d - ld [bc], a - ld a, [$05a4] - -jr_00a_70e2: - and b - or d - ld [bc], a - ld a, [$8007] - nop - ld h, b - -jr_00a_70ea: - add b - -jr_00a_70eb: - sbc a - ld h, b - ldh [$1f], a - xor a - dec b - ret nz - - nop - ret nc - - adc [hl] - dec b - dec [hl] - xor a - dec b - ldh [rLY], a - ld b, b - add b - ld b, c - and b - -jr_00a_70ff: - ld b, b - ld bc, $20d0 - xor a - ld b, $00 - ld b, c - rst $38 - nop - add hl, bc - cp $01 - db $fd - ld [bc], a - ld a, [$f404] - ld [$10e8], sp - xor a - ld b, $1e - dec bc - dec bc - inc b - ret nc - - jr nz, @-$16 - - db $10 - db $f4 - ld [$04fa], sp - db $fd - ld [bc], a - and l - inc b - jr c, @-$4f - - ld b, $40 - ld c, $ff - nop - db $fd - nop - ld [$f000], a - nop - ret z - - nop - and d - nop - ret nc - - nop - ld b, b - -jr_00a_713a: - xor a - ld b, $5f - ret nc - - ld b, $6f - xor a - ld b, $80 - ld [$7efd], sp - add d - rst $38 - ld a, l - add e - add e - ld bc, $c601 - dec b - reti - - - ld de, $0080 - ld b, c - -jr_00a_7154: - add b - cp [hl] - ld b, c - pop bc - ld a, $fe - add c - cp l - jp $ff43 - - - cp a - ld a, [hl] - ret nc - - ld h, b - ld b, e - and b - ret nz - - dec b - or b - ret nz - - sub b - ldh [$c8], a - ld [hl], b - xor a - -jr_00a_716e: - ld b, $c0 - add e - dec b - sub $0b - inc bc - rlca - ld [$170f], sp - jr @+$0b - - jr nc, jr_00a_719d - - jr nc, @+$62 - - jr nc, jr_00a_71c2 - - rst $38 - nop - ld b, $fb - rlca - ld hl, sp+$0f - rst $30 - jr jr_00a_7154 - - ld b, c - jr nc, jr_00a_716e - - nop - jr nc, jr_00a_713a - - ld b, $e0 - nop - db $10 - xor [hl] - ld b, $eb - nop - inc de - and h - ld b, $fb - -jr_00a_719d: - dec bc - ld h, l - jr c, jr_00a_71cb - - dec [hl] - inc c - inc sp - rla - jr jr_00a_71af - - rrca - inc bc - rlca - add e - ld [bc], a - ld e, a - dec bc - db $e4 - -jr_00a_71af: - jr c, @-$13 - - inc [hl] - db $ec - inc sp - rst $30 - jr jr_00a_71af - - rrca - rst $38 - rlca - ld b, c - rst $38 - nop - xor a - rlca - jr nz, jr_00a_71c5 - - and a - -jr_00a_71c2: - inc e - ld d, a - xor h - -jr_00a_71c5: - inc sp - and h - rlca - dec [hl] - nop - rst $18 - -jr_00a_71cb: - and h - rlca - dec sp - ld b, a - ld d, b - add b - ld b, a - ld a, [bc] - ld bc, $7406 - add e - nop - sbc b - nop - ld h, b - ld [$8041], sp - jr z, @+$0a - - add b - ld [$0040], sp - jr nc, jr_00a_71e6 - -jr_00a_71e6: - ld [$0430], sp - ld b, d - inc [hl] - ld [bc], a - ld b, $30 - inc b - nop - ld [$f000], sp - ld h, $a4 - rlca - add c - nop - ld d, b - ld b, c - ld bc, $0854 - ld bc, $0250 - ld b, b - inc c - ld b, e - db $10 - dec bc - jr nz, jr_00a_7248 - - dec de - ld b, b - add hl, bc - dec bc - ld b, b - inc bc - jr nz, jr_00a_720f - -jr_00a_720f: - jr jr_00a_7211 - -jr_00a_7211: - rlca - nop - inc bc - and e - rlca - adc [hl] - ld bc, $1000 - ld b, c - nop - ld [$0003], sp - jr nc, jr_00a_7221 - -jr_00a_7221: - ret nz - - xor a - rlca - ret nz - - ld b, c - stop - ld b, $2c - nop - inc hl - nop - call nz, $3400 - add h - rlca - ret z - - ld b, c - rst $28 - db $10 - rlca - db $d3 - inc l - call c, $3b23 - -Call_00a_723c: - call nz, $34cb - ld b, c - rst $30 - ld [$0009], sp - rst $38 - ld b, d - add c - nop - -jr_00a_7248: - rst $38 - inc h - jp $ff00 - - - ld b, c - ld b, [hl] - add c - ld bc, $ff00 - ld b, a - ld c, d - add l - call nz, Call_00a_6104 - add hl, bc - nop - ld c, c - or [hl] - inc d - ld h, e - ld [$2214], sp - inc d - inc b - ld b, c - ld [hl+], a - nop - inc c - ld [hl+], a - inc d - ld [hl+], a - ld [hl+], a - inc d - ld [$1414], sp - ld [hl+], a - ld [hl+], a - db $dd - nop - -jr_00a_7274: - nop - add a - ld [$0620], sp - sub h - ld h, e - db $eb - inc d - db $e3 - inc d - push bc - ld b, c - ld [hl+], a - pop bc - rlca - ld [hl+], a - push de - ld [hl+], a - db $e3 - inc d - db $eb - inc d - push de - add h - ld [$153b], sp - ld hl, $00de - rst $38 - ld e, [hl] - and c - dec h - ret nz - - ld e, b - add b - ld d, b - add b - ld d, l - add b - ld d, d - add b - ld bc, $04fe - ei - ld a, b - add a - xor c - ld [$4766], sp - ld d, h - and b - ld b, a - sbc d - dec b - dec b - nop - rst $38 - ld l, b - add b - nop - rst $38 - ld b, c - or c - ld b, b - add l - ld [$05a0], sp - nop - rst $38 - or h - dec bc - nop - rst $38 - ld b, c - ld l, c - ld d, $85 - ld [$c3b0], sp - ld [$08b0], sp - ld hl, $279e - sbc b - ld h, $99 - jr nz, jr_00a_7274 - - ccf - push bc - ld [$17c3], sp - ld bc, $7d82 - ld [hl-], a - call $8d72 - jp nz, $fe3d - - ld bc, $ff00 - ld [hl], a - -jr_00a_72e8: - ld [hl], $45 - ld h, e - inc h - ld b, e - ld b, l - ld [hl+], a - ld h, a - ld [hl+], a - ld [hl], $84 - ld [$0233], sp - ld [hl], $14 - inc e - add e - ld [$0337], sp - ld [$0814], sp - nop - and a - nop - rla - push bc - ld [$00fb], sp - ld [$08c6], sp - db $f4 - nop - inc d - add $08 - db $ec - ld [de], a - ld [hl+], a - inc h - ld b, e - ld b, l - -jr_00a_7316: - ld h, e - ld [hl], a - ld [hl], $18 - rst $20 - ld d, b - add b - jr z, jr_00a_735f - - ld e, a - jr nz, jr_00a_7362 - - ccf - sub b - ld h, b - ld b, c - jr nz, jr_00a_72e8 - - and e - ld [$00a0], sp - inc l - and h - add hl, bc - dec h - ld bc, $0659 - ld b, c - inc l - inc bc - rrca - sbc a - ld h, b - ld b, b - ccf - inc b - jr c, @-$56 - - ld d, h - ld de, $40e6 - and l - ld c, b - and l - jr nz, jr_00a_7316 - - xor a - add hl, bc - ld b, b - ld bc, $ff00 - add h - ld [$c73f], sp - ld [$8445], sp - add hl, bc - ld h, l - ld d, $24 - jr jr_00a_7372 - - inc h - nop - rst $20 - nop - inc h - -jr_00a_735f: - ld b, d - inc h - inc h - -jr_00a_7362: - ld b, d - adc $01 - ld c, a - add b - call nz, $8101 - nop - dec b - nop - add c - add h - dec b - push de - ld b, d - -jr_00a_7372: - add c - ld a, [hl] - ld [bc], a - add c - ld h, [hl] - add c - add $09 - sub a - nop - sbc c - ld b, c - nop - ld h, [hl] - ld [bc], a - nop - sbc c - nop - add a - add hl, bc - and b - add [hl] - inc b - ld e, l - rlca - rst $38 - sbc c - ld b, h - nop - rst $38 - jp $0000 - - - dec h - rst $38 - inc bc - rst $10 - rst $28 - rst $28 - rst $38 - add $09 - push bc - ld [de], a - rst $38 - rst $08 - rst $00 - ret nz - - and c - pop bc - jp $c381 - - - ld bc, $c0e1 - rst $28 - ret nz - - rst $38 - rst $08 - rst $30 - ld sp, hl - ld sp, hl - ld b, c - ldh a, [$f8] - inc bc - ldh a, [$e8] - ldh a, [$d0] - add h - ld [bc], a - sbc d - inc b - ld b, b - add b - ldh [$c0], a - ldh [$84], a - add hl, bc - db $e3 - dec b - ldh a, [$f8] - pop af - ld hl, sp-$01 - ld sp, hl - inc hl - rst $38 - ld bc, $6799 - ld b, c - ld bc, $0803 - rlca - inc bc - inc bc - rlca - dec bc - rlca - inc bc - rlca - rlca - ld [hl+], a - inc bc - dec b - ld bc, $6303 - ld bc, $7f89 - inc h - rst $38 - ld [$807f], sp - add b - sbc a - sbc a - and b - cp a - xor [hl] - or c - ld b, c - xor a - or b - inc bc - and [hl] - cp c - and b - or [hl] - ld b, c - and b - or b - ldh [$2a], a - and b - cp b - and b - cp h - cp a - sbc a - ret nz - - cp a - rst $38 - ld a, a - rst $38 - cp $03 - ld bc, $f9ff - rlca - db $fd - rlca - dec e - rlca - adc l - daa - add l - rlca - -jr_00a_7419: - dec h - ld b, a - dec h - rlca - dec b - rrca - dec b - rlca - dec c - daa - dec e - rst $38 - db $fd - inc bc - rst $38 - rst $38 - cp $ff - add l - add hl, bc - ld h, c - ld [bc], a - rst $38 - jr jr_00a_7419 - - ld b, c - jp $0200 - - - rst $20 - nop - db $db - ld b, c - nop - and l - inc b - nop - rst $30 - nop - rst $38 - rst $38 - ld b, c - add b - nop - ld a, [bc] - rst $38 - rst $38 - db $f4 - ld hl, sp-$30 - ldh [$80], a - ret nz - - ret nz - - add b - nop - add [hl] - ld [bc], a - ld a, [$0aaf] - add b - add l - dec b - call nz, $0009 - add b - ret nz - - add b - add b - ret nz - - ret nc - - ldh [$f4], a - ld hl, sp-$51 - ld a, [bc] - and b - rlca - cp $ff - rst $38 - cp $7c - cp $54 - cp b - add a - ld a, [bc] - xor b - add l - ld a, [bc] - ld a, b - ld bc, $0080 - add e - inc bc - rst $08 - inc b - ldh a, [$9f] - sub b - sbc a - rst $38 - adc b - add hl, bc - ld l, c - jr @+$01 - - rst $38 - nop - rst $38 - xor d - ld d, l - sub e - sbc h - sub [hl] - sbc b - ld b, $f8 - ld l, c - sub [hl] - ld l, [hl] - sub c - adc c - db $10 - adc b - db $10 - sub b - nop - ld d, l - nop - xor d - inc h - nop - rlca - add hl, bc - add [hl] - adc a - ld d, b - ld d, b - jr nz, jr_00a_74aa - -jr_00a_74aa: - jr nz, @-$79 - - dec bc - nop - inc c - inc b - inc bc - inc bc - inc c - inc c - sub b - ret c - - jr nz, jr_00a_74d8 - - ld b, b - xor d - rst $38 - ld d, l - add h - ld a, [bc] - db $eb - ld [bc], a - ld d, l - xor d - rst $38 - and l - ld a, [bc] - rst $38 - ld [bc], a - rst $38 - rst $38 - nop - add [hl] - add hl, bc - xor a - adc [hl] - inc b - ld e, l - call nz, $2e0b - ld bc, $b600 - inc a - nop - -jr_00a_74d8: - ld a, [bc] - ld l, l - nop - rla - rrca - rra - ccf - ccf - ld a, a - rst $38 - ld a, a - ld a, a - ld h, $ff - xor a - dec bc - ld [hl], b - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - -Call_00a_76fc: - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - -Jump_00a_77c3: - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - -Jump_00a_797f: - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - -Call_00a_7afc: - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - -Call_00a_7c02: - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - -Jump_00a_7e00: - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - -Call_00a_7e3c: - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - -Jump_00a_7eff: - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - -Jump_00a_7f41: - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - -Jump_00a_7f7c: - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - rst $38 - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - rst $38 - rst $38 - ld h, [hl] - rst $30 - rst $38 - rst $38 - ld e, a - db $db - rst $38 - rst $38 - ld a, a - rst $30 - rst $38 - rst $38 - xor l - sbc $ff - rst $38 - db $eb - dec a - rst $38 - rst $38 - di - daa - rst $38 - rst $38 - rst $38 - ld a, l - rst $38 - rst $38 - ccf - -Jump_00a_7fff: - nop +; free space padding +INCBIN "baserom.gb", $2b4ea, $2c000 - $2b4ea diff --git a/charmap.asm b/charmap.asm index e69de29..5b8c06e 100755 --- a/charmap.asm +++ b/charmap.asm @@ -0,0 +1,27 @@ + charmap " ", $00 + + charmap "X", $79 + + charmap "A", $E0 + charmap "B", $E1 + charmap "C", $E2 + charmap "D", $E3 + charmap "E", $E4 + charmap "F", $E5 + charmap "G", $E6 + charmap "H", $E7 + charmap "I", $E8 + charmap "J", $E9 + charmap "K", $EA + charmap "L", $EB + charmap "M", $EC + charmap "N", $ED + charmap "O", $EE + charmap "P", $EF + charmap "R", $F0 + charmap "S", $F1 + charmap "T", $F2 + charmap "U", $F3 + charmap "Y", $F4 + charmap "1", $F5 + charmap "9", $F6 diff --git a/gfx/font.2bpp.lz b/gfx/font.2bpp.lz new file mode 100644 index 0000000000000000000000000000000000000000..653b3783704f7b1916ac887628660b0fc0092f0c GIT binary patch literal 285 zcmWO1K}!Nb90lIw1{T(X3mbTF$=CshX^8z0 zK@fE419TL&U?b=wbnY{BskuEKyazuEXf#?a+lP2VkpW3!`wEo|d*peh=3h8+e2FFr zVRPK(I8Sj#oGTnK&Z9`<*fEQuM2UvOPA!9^a@pCogLlZS*(?m>9M4@Yak=CB%cT(W zxyFsji^XacMG`L`SU7%)9wmvwM5DsOFbFihEzUiUF^!XMP2>6=KaQ!_8J*H#km63E zMWd0XeThP0I=#v%?!a86w5HAGlMWRw6g{Gu)9Y@jRIRq#+*xOk8Yy zj{p%80TCfFK~Z6G4IM2#OOUVG684@veQDJca02U@TMpkBafuw|pjE|C*r=6&T033z@ zq7tD87biDIS7&#ErG<%&kdv31o`nFDh5*76vfijI+#n46!30F#FR z;RXN+87VnQSt9@khl>EIm6@ENg#eR;0RjgAXaEWtDmnm>00smA046p@BLD*n8vp>5 z0i^-}H+Lxj1o!p!_WF(i%mDy+A^;QT;OhYE;NkA@;PUS9^!e!R;`q0O031PmekcG3 z?da|Dz>*(U-?eXN} xo&taX0OY^^p);}&;(GBe*a) z9|VfPLCA7x&i#_hSzo(;9vp10zk9RpdEh0$72M^*H3Sxh7&5Z9;TpDU+SoSjq{(bE zZO3A|o&YE&^M;e(pKILzb@gszx^cN)+o@YM)Tp^18mv}3I$CODd5BQfZXX{ffFs+E z7vckjf|X;te%1G@jO~FeQ4x!c_4;r}Dw@rF7?vUZ5^fMhC=oZJ!kIx8Bv)mic7XNj zTCytbtt~E|pA2B3r*-Y=GgVS`Mi?WA5CrHIOi}{`7%q8c zRMQk)SG7@~5^1;pRp4!e=@^%AcIWm5E;yAb$TB9S&|l7FbM7hPZu`qVBbaHOT8WDE zRmb?l35B=A%=$wg;FV-jmJ}|eVB#x9?X!=ZP5+5DXl1UWi@bv3j0tAJ}xb! zGbxZRW$sCr#CVUNQ>sUL<7Jp5c3(s*!vodOVansl^!X%U87Spc z@EN;t`1;d)qg4zy@B!jHVaVNF(+NY52xm>l$(#A2S%&@%{F@S{-w=ujc>& literal 0 HcmV?d00001 diff --git a/gfx/titlescreen_tiles_2.2bpp.lz b/gfx/titlescreen_tiles_2.2bpp.lz new file mode 100644 index 0000000000000000000000000000000000000000..f47f1f9905e4293455c695f8963bbed987d2512c GIT binary patch literal 1505 zcmWMmPiz!b82{dTvu~z!c6O=-X3KPU*FYo() z|2lvoAS6U-3x_GkB{4@Zdq|_7ps}7Ogy$ot;u{;!)>F_tIVn$Glw~EZL?S#7kjZG7 zUQM&Czz=MHH{c&mJvs}=MV_a`C5~Hm7EIGLEHj}YSvF zz@zXour_1b0Fbo7FF_;w6B$M_5z-Q%X>tWVO$t;LKomJT3Oj+EhiicPkOxuT^ZFh~ zqg3)>_lscIftAp1$o9p1#fcTaI#{VBb9_Fn>zV@cGQ7(3gi7D5we`J#HaE}1*GN^( z7n;bnCPlq~s;osZwF7V@qRhe!HY}^fz_xEs!*0&8!Ew&P9!Um}6-8BJTcmmv4l_tF zQ0hS|pd|$wt=?>F8PLNx-6H-cP)ZY zWHni2m7GMAlV{M)WwhLY(EI=FZ4NQLQc746vV=cyQ42U8$`IQ&>@rSb%YYIzk*V60 zpInU;*jib=DH}h~k*Vct!6?r27;TH}(=EfrX*%M#?qW}m*<&EXpN6X;$60X9-qcPk ze=_C5U!(ZK79}1(5YKBhW{tf-{(Zhyy9-NUg2y<~n<(BZ9$gLc9#%YPaPi4e{2&w) zRZ&n)RpGmou4pFO&}DXI#xdt|xjE2EsFehMp)gARP{razk*RaSt5%pmtGOq+{#<8n zuru2o>+Vj+P$Xu?BUDri+1mQ*Su(=~wQm){jMj zQQaSH+TVWSNq>K;!g*sJrl+Az08}V=RXR3O!cidOFwe4K>Px)IOKN?ruDLE;;?BJU zgae9Ao&axR3iL<(km>U0^BWub&@R~8o$Wu=<1(xr zSS%iE+7XT3U|27qS4PQ^IxV5<;TZD(#{vh5!c6Gq92x}6C9h-4O1R`fiO$t)imW7* zQwLUAc3pvX7vI^+^Be_^1tA{6Xk>)33Ja#6Ho!ka?}k=`8$-=(@k^K|sK}*mvAaka z-^MXX8pU@?xD{X;uM=j3{4~DKM+Je&4x