summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSawakita <sawakitanoodles@gmail.com>2012-01-14 19:12:52 +0100
committerSawakita <sawakitanoodles@gmail.com>2012-01-14 19:12:52 +0100
commit6c64fa8acc80b1fe78e8c63bece0db4cf21ea2a4 (patch)
tree1f017bb4b060094e487485e34c7e76fd114a7e17
parent64c09f8c326a1f6b00d4f2ff2241c281c1be9842 (diff)
Replace some hex values with labels. Remove some weird extra-indentation.
hg-commit-id: eab17e7f37f4
-rw-r--r--pokered.asm24
1 files changed, 12 insertions, 12 deletions
diff --git a/pokered.asm b/pokered.asm
index f9cd9692..e939326c 100644
--- a/pokered.asm
+++ b/pokered.asm
@@ -1794,10 +1794,10 @@ GiveItem: ; 0x3e2e
ld [$cf91], a
ld a, c
ld [$cf96], a
- ld hl, $d31d
+ ld hl,W_NUMBAGITEMS
call $2bcf
ret nc
- call $2fcf
+ call GetItemName ; $2fcf
call $3826
scf
ret
@@ -7708,7 +7708,7 @@ OaksLabText5: ; 0x1d248
call Predef
jp $52ed
.asm_b28b0 ; 0x1d279
- ld b,POKE_BALL
+ ld b,POKE_BALL
call $3493
jr nz, .asm_17c30 ; 0x1d27e
ld a, [$d7eb]
@@ -7730,7 +7730,7 @@ OaksLabText5: ; 0x1d248
call PrintText
jr .asm_0f042 ; 0x1d2a7
.asm_76269 ; 0x1d2a9
- ld b,OAKS_PARCEL
+ ld b,OAKS_PARCEL
call $3493
jr nz, .asm_a8fcf ; 0x1d2ae
ld hl, $52fa
@@ -16931,7 +16931,7 @@ RocketHideoutElevator_h: ; 0x45704 to 0x45710 (12 bytes) (bank=11) (id=203)
INCBIN "baserom.gbc",$45710,$4576d - $45710
RocketHideoutElevatorText1: ; 0x4576d
db $08 ; asm
- ld b,LIFT_KEY
+ ld b,LIFT_KEY
call $3493
jr z, .asm_8d8f0 ; 0x45773
call $5741
@@ -18535,7 +18535,7 @@ CeladonGameCornerText2: ; 0x48ca9
ld a, [$cc26]
and a
jr nz, .asm_c650b ; 0x48cba
- ld b,COIN_CASE
+ ld b,COIN_CASE
call $3493
jr z, .asm_ed086 ; 0x48cc1
call $4f95
@@ -18602,7 +18602,7 @@ CeladonGameCornerText5: ; 0x48d4a
jr nz, .asm_d0957 ; 0x48d50
ld hl, $4d9c
call PrintText
- ld b,COIN_CASE
+ ld b,COIN_CASE
call $3493
jr z, .asm_5aef9 ; 0x48d5d
call $4f95
@@ -18665,7 +18665,7 @@ CeladonGameCornerText9: ; 0x48dd9
jr nz, .asm_ed8bc ; 0x48ddf
ld hl, $4e26
call PrintText
- ld b,COIN_CASE
+ ld b,COIN_CASE
call $3493
jr z, .asm_df794 ; 0x48dec
call $4f95
@@ -18704,7 +18704,7 @@ CeladonGameCornerText10: ; 0x48e3b
jr nz, .asm_ff080 ; 0x48e41
ld hl, $4e88
call PrintText
- ld b,COIN_CASE
+ ld b,COIN_CASE
call $3493
jr z, .asm_4fb0c ; 0x48e4e
call $4f95
@@ -25583,7 +25583,7 @@ CopycatsHouseF2Text1: ; 0x5cc82
ld [$cc3c], a
ld hl, $4cd4
call PrintText
- ld b,POKE_DOLL
+ ld b,POKE_DOLL
call $3493
jr z, .asm_62ecd ; 0x5cc9a
ld hl, $4cd9
@@ -26185,7 +26185,7 @@ Route2GateText1: ; 0x5d5db
ld a, $c8
ldh [$dc], a
ld [$d11e], a
- call $2fcf
+ call GetItemName ; $2fcf
ld hl, $cd6d
ld de, $cc5b
ld bc, $000d
@@ -29430,7 +29430,7 @@ FuchsiaHouse2Text1: ; 0x750c2
ld a, [$d78e]
bit 0, a
jr nz, .asm_58feb ; 0x750c8
- ld b,GOLD_TEETH
+ ld b,GOLD_TEETH
call $3493
jr nz, .asm_3f30f ; 0x750cf
ld a, [$d78e]