summaryrefslogtreecommitdiff
path: root/Evolution-moves.md
diff options
context:
space:
mode:
Diffstat (limited to 'Evolution-moves.md')
-rw-r--r--Evolution-moves.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/Evolution-moves.md b/Evolution-moves.md
index 0b845f6..a74de2b 100644
--- a/Evolution-moves.md
+++ b/Evolution-moves.md
@@ -312,12 +312,12 @@ Edit [engine/pokemon/evolve.asm](../blob/master/engine/pokemon/evolve.asm):
...
ld a, [wCurSpecies]
- ld [wd265], a
+ ld [wTempSpecies], a
xor a
ld [wMonType], a
+ call LearnEvolutionMove
call LearnLevelMoves
- ld a, [wd265]
+ ld a, [wTempSpecies]
dec a
call SetSeenAndCaughtMon
@@ -328,7 +328,7 @@ Edit [engine/pokemon/evolve.asm](../blob/master/engine/pokemon/evolve.asm):
ret
+
+LearnEvolutionMove:
-+ ld a, [wd265]
++ ld a, [wTempSpecies]
+ ld [wCurPartySpecies], a
+ dec a
+ ld c, a
@@ -356,12 +356,12 @@ Edit [engine/pokemon/evolve.asm](../blob/master/engine/pokemon/evolve.asm):
+
+ ld a, d
+ ld [wPutativeTMHMMove], a
-+ ld [wd265], a
++ ld [wNamedObjectIndexBuffer], a
+ call GetMoveName
+ call CopyName1
+ predef LearnMove
+ ld a, [wCurPartySpecies]
-+ ld [wd265], a
++ ld [wTempSpecies], a
+
+.has_move
+ pop hl