Label BCD math predefs.

This commit is contained in:
yenatch 2014-05-25 17:27:02 -07:00
parent bba8405992
commit 4be11293e5
14 changed files with 92 additions and 83 deletions

View file

@ -157,7 +157,7 @@ CeladonGameCornerText2: ; 48ca9 (12:4ca9)
ld hl, $ffa1
ld de, $d349
ld c, $3
ld a, $c
ld a, $c ; SubtractBCDPredef
call Predef
xor a
ldh [$9f], a
@ -167,7 +167,7 @@ CeladonGameCornerText2: ; 48ca9 (12:4ca9)
ld de, $d5a5
ld hl, $ffa1
ld c, $2
ld a, $b
ld a, $b ; AddBCDPredef
call Predef
call CeladonGameCornerScript_48f1e
ld hl, CeladonGameCornerText_48d27
@ -236,7 +236,7 @@ CeladonGameCornerText5: ; 48d4a (12:4d4a)
ld de, $d5a5
ld hl, $ffa1
ld c, $2
ld a, $b
ld a, $b ; AddBCDPredef
call Predef
ld hl, $d77e
set 2, [hl]
@ -319,7 +319,7 @@ CeladonGameCornerText9: ; 48dd9 (12:4dd9)
ld de, $d5a5
ld hl, $ffa1
ld c, $2
ld a, $b
ld a, $b ; AddBCDPredef
call Predef
ld hl, $d77e
set 4, [hl]
@ -373,7 +373,7 @@ CeladonGameCornerText10: ; 48e3b (12:4e3b)
ld de, $d5a5
ld hl, $ffa1
ld c, $2
ld a, $b
ld a, $b ; AddBCDPredef
call Predef
ld hl, $d77e
set 3, [hl]

View file

@ -120,7 +120,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
push hl
push de
push bc
ld a, $b
ld a, $b ; AddBCDPredef
call Predef
pop bc
pop de
@ -156,7 +156,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
inc hl
ld de, $d349
ld c, $3
ld a, $c
ld a, $c ; SubtractBCDPredef
call Predef
ld a, (SFX_02_5a - SFX_Headers_02) / 3
call PlaySoundWaitForCurrent

View file

@ -55,7 +55,7 @@ MtMoonPokecenterText4: ; 492ec (12:52ec)
ld hl, $cd3f
ld de, $d349
ld c, $3
ld a, $c
ld a, $c ; SubtractBCDPredef
call Predef
ld a, $13
ld [$d125], a

View file

@ -103,7 +103,7 @@ Museum1FText1: ; 5c135 (17:4135)
ld hl, $cd3f
ld de, $d349
ld c, $3
ld a, $c
ld a, $c ; SubtractBCDPredef
call Predef
ld a, $13
ld [$d125], a

View file

@ -176,7 +176,7 @@ SafariZoneEntranceText4: ; 752ca (1d:52ca)
ld hl, $cd3f
ld de, $d349
ld c, $3
ld a, $c
ld a, $c ; SubtractBCDPredef
call Predef
ld a, $13
ld [$d125], a