use constants for wEvosMoves size

This commit is contained in:
yenatch 2018-03-22 23:09:49 -04:00
parent c80eddf988
commit bd35b37262
3 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -1,3 +1,6 @@
; See constants/evolution_constants.asm
; The max number of evolutions per monster is MAX_EVOLUTIONS
EvosMovesPointerTable:
dw RhydonEvosMoves
dw KangaskhanEvosMoves
@ -1243,7 +1246,6 @@ EeveeEvosMoves:
db EV_ITEM,THUNDER_STONE,1,JOLTEON
db EV_ITEM,WATER_STONE,1,VAPOREON
db 0
EeveeEvosEnd:
;Learnset
db 27,QUICK_ATTACK
db 31,TAIL_WHIP

View file

@ -1253,7 +1253,7 @@ wNormalMaxPPList:: ; cd78
NEXTU
wEvosMoves:: ds 13
wEvosMoves:: ds MAX_EVOLUTIONS * EVOLUTION_SIZE + 1
.end::
ENDU