Skip to content

Commit af8eebf

Browse files
committed
elm properly names pokemon needed in party for EVOLVE_PARTY
1 parent ae09bb1 commit af8eebf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

data/phone/text/elm.asm

+2-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ ElmPhoneEvoText_Party:
346346
para "while you have a"
347347
line ""
348348
text_ram wStringBuffer4
349-
cont "in your party too."
349+
text " in"
350+
cont "your party too."
350351
prompt
351352

352353
ElmPhoneEvoText_Egg:

engine/pokemon/evolve.asm

+1-1
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ GetEvolutionData:
863863
ld a, [hli] ; parameter 1 low (species)
864864
ld e, a
865865
ld a, [hl] ; parameter 1 high (ext species/form)
866-
ld hl, wNamedObjectIndex
866+
ld hl, wNamedObjectIndex+1
867867
ld [hld], a
868868
ld [hl], e
869869
call GetPokemonName

0 commit comments

Comments
 (0)