mirror of https://github.com/pret/pokecrystal.git
89 lines
1.8 KiB
NASM
89 lines
1.8 KiB
NASM
; growth rate
|
|
MEDIUM_FAST EQU 0
|
|
MEDIUM_SLOW EQU 3
|
|
SLOW EQU 4
|
|
FAST EQU 5
|
|
|
|
; egg group constants
|
|
|
|
MONSTER EQU $01
|
|
AMPHIBIAN EQU $02
|
|
INSECT EQU $03
|
|
AVIAN EQU $04
|
|
FIELD EQU $05
|
|
FAIRY EQU $06
|
|
PLANT EQU $07
|
|
HUMANSHAPE EQU $08
|
|
INVERTEBRATE EQU $09
|
|
INANIMATE EQU $0A
|
|
AMORPHOUS EQU $0B
|
|
FISH EQU $0C
|
|
LADIES_MAN EQU $0D
|
|
REPTILE EQU $0E
|
|
NO_EGGS EQU $0F
|
|
|
|
|
|
; menu sprites
|
|
ICON_POLIWAG EQU $01
|
|
ICON_JIGGLYPUFF EQU $02
|
|
ICON_DIGLETT EQU $03
|
|
ICON_PIKACHU EQU $04
|
|
ICON_STARYU EQU $05
|
|
ICON_FISH EQU $06
|
|
ICON_BIRD EQU $07
|
|
ICON_MONSTER EQU $08
|
|
ICON_CLEFAIRY EQU $09
|
|
ICON_ODDISH EQU $0a
|
|
ICON_BUG EQU $0b
|
|
ICON_GHOST EQU $0c
|
|
ICON_LAPRAS EQU $0d
|
|
ICON_HUMANSHAPE EQU $0e
|
|
ICON_FOX EQU $0f
|
|
ICON_EQUINE EQU $10
|
|
ICON_SHELL EQU $11
|
|
ICON_BLOB EQU $12
|
|
ICON_SERPENT EQU $13
|
|
ICON_VOLTORB EQU $14
|
|
ICON_SQUIRTLE EQU $15
|
|
ICON_BULBASAUR EQU $16
|
|
ICON_CHARMANDER EQU $17
|
|
ICON_CATERPILLAR EQU $18
|
|
ICON_UNOWN EQU $19
|
|
ICON_GEODUDE EQU $1a
|
|
ICON_FIGHTER EQU $1b
|
|
ICON_EGG EQU $1c
|
|
ICON_JELLYFISH EQU $1d
|
|
ICON_MOTH EQU $1e
|
|
ICON_BAT EQU $1f
|
|
ICON_SNORLAX EQU $20
|
|
ICON_HO_OH EQU $21
|
|
ICON_LUGIA EQU $22
|
|
ICON_GYARADOS EQU $23
|
|
ICON_SLOWPOKE EQU $24
|
|
ICON_SUDOWOODO EQU $25
|
|
ICON_BIGMON EQU $26
|
|
|
|
|
|
; evolution types
|
|
EVOLVE_LEVEL EQU 1
|
|
EVOLVE_ITEM EQU 2
|
|
EVOLVE_TRADE EQU 3
|
|
EVOLVE_HAPPINESS EQU 4
|
|
EVOLVE_STAT EQU 5
|
|
|
|
|
|
BASE_HAPPINESS EQU 70
|
|
; happiness evolution triggers
|
|
HAPPINESS_TO_EVOLVE EQU 220
|
|
TR_ANYTIME EQU 1
|
|
TR_MORNDAY EQU 2
|
|
TR_NITE EQU 3
|
|
|
|
|
|
; stat evolution triggers
|
|
ATK_GT_DEF EQU 1
|
|
ATK_LT_DEF EQU 2
|
|
ATK_EQ_DEF EQU 3
|
|
|
|
|