add wEvosMoves instead of using eevee

This commit is contained in:
yenatch 2018-03-21 18:55:09 -04:00
parent 509ee98219
commit c80eddf988
2 changed files with 14 additions and 5 deletions

View file

@ -140,19 +140,19 @@ RedrawPartyMenu_:
rl b rl b
ld c, a ld c, a
add hl, bc add hl, bc
ld de, wcd6d ld de, wEvosMoves
ld a, BANK(EvosMovesPointerTable) ld a, BANK(EvosMovesPointerTable)
ld bc, 2 ld bc, 2
call FarCopyData call FarCopyData
ld hl, wcd6d ld hl, wEvosMoves
ld a, [hli] ld a, [hli]
ld h, [hl] ld h, [hl]
ld l, a ld l, a
ld de, wcd6d ld de, wEvosMoves
ld a, BANK(EvosMovesPointerTable) ld a, BANK(EvosMovesPointerTable)
ld bc, EeveeEvosEnd - EeveeEvosMoves ld bc, wEvosMoves.end - wEvosMoves
call FarCopyData call FarCopyData
ld hl, wcd6d ld hl, wEvosMoves
ld de, .notAbleToEvolveText ld de, .notAbleToEvolveText
; loop through the pokemon's evolution entries ; loop through the pokemon's evolution entries
.checkEvolutionsLoop .checkEvolutionsLoop

View file

@ -1237,6 +1237,8 @@ wNumMovesMinusOne:: ; cd6c
; FormatMovesString stores the number of moves minus one here ; FormatMovesString stores the number of moves minus one here
ds 1 ds 1
UNION
wcd6d:: ds 4 ; buffer for various data wcd6d:: ds 4 ; buffer for various data
wStatusScreenCurrentPP:: ; cd71 wStatusScreenCurrentPP:: ; cd71
@ -1249,6 +1251,13 @@ wNormalMaxPPList:: ; cd78
; list of normal max PP (without PP up) values ; list of normal max PP (without PP up) values
ds 9 ds 9
NEXTU
wEvosMoves:: ds 13
.end::
ENDU
wSerialOtherGameboyRandomNumberListBlock:: ; cd81 wSerialOtherGameboyRandomNumberListBlock:: ; cd81
; buffer for transferring the random number list generated by the other gameboy ; buffer for transferring the random number list generated by the other gameboy