lower diff

This commit is contained in:
Marijn van der Werf 2020-06-07 13:48:26 +02:00
parent 71d6d9d8fa
commit 4641cfd8a5
4 changed files with 16 additions and 12 deletions

View File

@ -150,8 +150,8 @@ jr_001_4894::
ldh [hScratch0], a
ld a, [de]
and a
jr z, .jr_001_48a7
dec a
jr z,jr_001_489D
dec a
push hl
push bc
ld c, a
@ -160,11 +160,10 @@ jr_001_4894::
pop bc
pop hl
cp $00
.jr_001_48a7
ld a, $7e
jr_001_489D::
jr z, jr_001_48A9 ; $48a9: $28 $02
ld a, $7E
jr z, jr_001_48A9
ld a, $c9
@ -587,6 +586,7 @@ FileCreationInteractiveHandler::
cp $00
jr nz, jr_001_4AFE
ld a, MUSIC_ZELDA_NICKNAME_EASTER_EGG
jr_001_4ae6::
ld [wMusicTrackToPlay], a
jr_001_4AFE::
@ -1045,6 +1045,8 @@ Data_001_4E43::
label_001_4E55::
ld hl, wRequestDestinationHigh ; $4E55: $21 $01 $D6
ld de, Data_001_4E43 ; $4E58: $11 $43 $4E
; c = sizeof(Data_001_4E43)
ld c, $13 ; $4E5B: $0E $11
.loop

View File

@ -150,8 +150,8 @@ jr_001_4894::
ldh [hScratch0], a
ld a, [de]
and a
jr z, .jr_001_48a7
dec a
jr z,jr_001_489D
dec a
push hl
push bc
ld c, a
@ -160,11 +160,10 @@ jr_001_4894::
pop bc
pop hl
cp $00
.jr_001_48a7
ld a, $7e
jr_001_489D::
jr z, jr_001_48A9 ; $48a9: $28 $02
ld a, $7E
jr z, jr_001_48A9
ld a, $c9
@ -587,6 +586,7 @@ FileCreationInteractiveHandler::
cp $00
jr nz, jr_001_4AFE
ld a, MUSIC_ZELDA_NICKNAME_EASTER_EGG
jr_001_4ae6::
ld [wMusicTrackToPlay], a
jr_001_4AFE::
@ -1060,6 +1060,8 @@ Data_001_4E43::
label_001_4E55::
ld hl, wRequestDestinationHigh ; $4E55: $21 $01 $D6
ld de, Data_001_4E43 ; $4E58: $11 $43 $4E
; c = sizeof(Data_001_4E43)
ld c, $13 ; $4E5B: $0E $11
.loop

View File

@ -1211,7 +1211,7 @@ jr_001_4F1D::
ld a, [wCreditsScratch0] ; $4F23: $FA $00 $D0
ld e, a ; $4F26: $5F
ld a, $1e ; $4F27: $3E $28
ld a, $1E ; $4F27: $3E $28
dec e ; $4F29: $1D
jr nz, jr_001_4F2E ; $4F2A: $20 $02

View File

@ -1226,7 +1226,7 @@ jr_001_4F1D::
ld a, [wCreditsScratch0] ; $4F23: $FA $00 $D0
ld e, a ; $4F26: $5F
ld a, $1e ; $4F27: $3E $28
ld a, $1E ; $4F27: $3E $28
dec e ; $4F29: $1D
jr nz, jr_001_4F2E ; $4F2A: $20 $02