mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
Merge pull request #180 from yenatch/fix-wevosmoves
add wEvosMoves instead of using eevee
This commit is contained in:
commit
91e55dbe0b
|
@ -1,4 +1,9 @@
|
|||
; See data/evos_moves.asm
|
||||
|
||||
; Evolution types
|
||||
EV_LEVEL EQU 1
|
||||
EV_ITEM EQU 2
|
||||
EV_TRADE EQU 3
|
||||
|
||||
MAX_EVOLUTIONS EQU 3
|
||||
EVOLUTION_SIZE EQU 4
|
||||
|
|
2364
data/evos_moves.asm
2364
data/evos_moves.asm
File diff suppressed because it is too large
Load diff
|
@ -140,19 +140,19 @@ RedrawPartyMenu_:
|
|||
rl b
|
||||
ld c, a
|
||||
add hl, bc
|
||||
ld de, wcd6d
|
||||
ld de, wEvosMoves
|
||||
ld a, BANK(EvosMovesPointerTable)
|
||||
ld bc, 2
|
||||
call FarCopyData
|
||||
ld hl, wcd6d
|
||||
ld hl, wEvosMoves
|
||||
ld a, [hli]
|
||||
ld h, [hl]
|
||||
ld l, a
|
||||
ld de, wcd6d
|
||||
ld de, wEvosMoves
|
||||
ld a, BANK(EvosMovesPointerTable)
|
||||
ld bc, EeveeEvosEnd - EeveeEvosMoves
|
||||
ld bc, wEvosMoves.end - wEvosMoves
|
||||
call FarCopyData
|
||||
ld hl, wcd6d
|
||||
ld hl, wEvosMoves
|
||||
ld de, .notAbleToEvolveText
|
||||
; loop through the pokemon's evolution entries
|
||||
.checkEvolutionsLoop
|
||||
|
|
9
wram.asm
9
wram.asm
|
@ -1237,6 +1237,8 @@ wNumMovesMinusOne:: ; cd6c
|
|||
; FormatMovesString stores the number of moves minus one here
|
||||
ds 1
|
||||
|
||||
UNION
|
||||
|
||||
wcd6d:: ds 4 ; buffer for various data
|
||||
|
||||
wStatusScreenCurrentPP:: ; cd71
|
||||
|
@ -1249,6 +1251,13 @@ wNormalMaxPPList:: ; cd78
|
|||
; list of normal max PP (without PP up) values
|
||||
ds 9
|
||||
|
||||
NEXTU
|
||||
|
||||
wEvosMoves:: ds MAX_EVOLUTIONS * EVOLUTION_SIZE + 1
|
||||
.end::
|
||||
|
||||
ENDU
|
||||
|
||||
wSerialOtherGameboyRandomNumberListBlock:: ; cd81
|
||||
; buffer for transferring the random number list generated by the other gameboy
|
||||
|
||||
|
|
Loading…
Reference in a new issue