mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-09-16 18:20:50 +12:00
25 lines
885 B
NASM
25 lines
885 B
NASM
; Evolutions and attacks are grouped together since they're both checked at level-up.
|
|
|
|
SECTION "Evolutions and Attacks Pointers", ROMX
|
|
|
|
; Evos+attacks data structure:
|
|
; - Evolution methods:
|
|
; * dbbw EVOLVE_LEVEL, level, species
|
|
; * dbbw EVOLVE_ITEM, used item, species
|
|
; * dbbw EVOLVE_TRADE, held item (or -1 for none), species
|
|
; * dbbw EVOLVE_HAPPINESS, TR_* constant (ANYTIME, MORNDAY, NITE), species
|
|
; * dbbbw EVOLVE_STAT, level, ATK_*_DEF constant (LT, GT, EQ), species
|
|
; - db 0 ; no more evolutions
|
|
; - Learnset (in increasing level order):
|
|
; * dbw level, move
|
|
; - db 0 ; no more level-up moves
|
|
|
|
EvosAttacksPointers::
|
|
indirect_table 2, 1
|
|
indirect_entries JOHTO_POKEMON - 1, EvosAttacksPointers1
|
|
indirect_entries NUM_POKEMON, EvosAttacksPointers2
|
|
indirect_table_end
|
|
|
|
INCLUDE "data/pokemon/evos_attacks_kanto.asm"
|
|
INCLUDE "data/pokemon/evos_attacks_johto.asm"
|