mirror of https://github.com/pret/pokecrystal.git
322 lines
6.4 KiB
NASM
322 lines
6.4 KiB
NASM
|
|
; pokemon
|
|
const_value set 1
|
|
const BULBASAUR
|
|
const IVYSAUR
|
|
const VENUSAUR
|
|
const CHARMANDER
|
|
const CHARMELEON
|
|
const CHARIZARD
|
|
const SQUIRTLE
|
|
const WARTORTLE
|
|
const BLASTOISE
|
|
const CATERPIE
|
|
const METAPOD
|
|
const BUTTERFREE
|
|
const WEEDLE
|
|
const KAKUNA
|
|
const BEEDRILL
|
|
const PIDGEY
|
|
const PIDGEOTTO
|
|
const PIDGEOT
|
|
const RATTATA
|
|
const RATICATE
|
|
const SPEAROW
|
|
const FEAROW
|
|
const EKANS
|
|
const ARBOK
|
|
const PIKACHU
|
|
const RAICHU
|
|
const SANDSHREW
|
|
const SANDSLASH
|
|
const NIDORAN_F
|
|
const NIDORINA
|
|
const NIDOQUEEN
|
|
const NIDORAN_M
|
|
const NIDORINO
|
|
const NIDOKING
|
|
const CLEFAIRY
|
|
const CLEFABLE
|
|
const VULPIX
|
|
const NINETALES
|
|
const JIGGLYPUFF
|
|
const WIGGLYTUFF
|
|
const ZUBAT
|
|
const GOLBAT
|
|
const ODDISH
|
|
const GLOOM
|
|
const VILEPLUME
|
|
const PARAS
|
|
const PARASECT
|
|
const VENONAT
|
|
const VENOMOTH
|
|
const DIGLETT
|
|
const DUGTRIO
|
|
const MEOWTH
|
|
const PERSIAN
|
|
const PSYDUCK
|
|
const GOLDUCK
|
|
const MANKEY
|
|
const PRIMEAPE
|
|
const GROWLITHE
|
|
const ARCANINE
|
|
const POLIWAG
|
|
const POLIWHIRL
|
|
const POLIWRATH
|
|
const ABRA
|
|
const KADABRA
|
|
const ALAKAZAM
|
|
const MACHOP
|
|
const MACHOKE
|
|
const MACHAMP
|
|
const BELLSPROUT
|
|
const WEEPINBELL
|
|
const VICTREEBEL
|
|
const TENTACOOL
|
|
const TENTACRUEL
|
|
const GEODUDE
|
|
const GRAVELER
|
|
const GOLEM
|
|
const PONYTA
|
|
const RAPIDASH
|
|
const SLOWPOKE
|
|
const SLOWBRO
|
|
const MAGNEMITE
|
|
const MAGNETON
|
|
const FARFETCH_D
|
|
const DODUO
|
|
const DODRIO
|
|
const SEEL
|
|
const DEWGONG
|
|
const GRIMER
|
|
const MUK
|
|
const SHELLDER
|
|
const CLOYSTER
|
|
const GASTLY
|
|
const HAUNTER
|
|
const GENGAR
|
|
const ONIX
|
|
const DROWZEE
|
|
const HYPNO
|
|
const KRABBY
|
|
const KINGLER
|
|
const VOLTORB
|
|
const ELECTRODE
|
|
const EXEGGCUTE
|
|
const EXEGGUTOR
|
|
const CUBONE
|
|
const MAROWAK
|
|
const HITMONLEE
|
|
const HITMONCHAN
|
|
const LICKITUNG
|
|
const KOFFING
|
|
const WEEZING
|
|
const RHYHORN
|
|
const RHYDON
|
|
const CHANSEY
|
|
const TANGELA
|
|
const KANGASKHAN
|
|
const HORSEA
|
|
const SEADRA
|
|
const GOLDEEN
|
|
const SEAKING
|
|
const STARYU
|
|
const STARMIE
|
|
const MR__MIME
|
|
const SCYTHER
|
|
const JYNX
|
|
const ELECTABUZZ
|
|
const MAGMAR
|
|
const PINSIR
|
|
const TAUROS
|
|
const MAGIKARP
|
|
const GYARADOS
|
|
const LAPRAS
|
|
const DITTO
|
|
const EEVEE
|
|
const VAPOREON
|
|
const JOLTEON
|
|
const FLAREON
|
|
const PORYGON
|
|
const OMANYTE
|
|
const OMASTAR
|
|
const KABUTO
|
|
const KABUTOPS
|
|
const AERODACTYL
|
|
const SNORLAX
|
|
const ARTICUNO
|
|
const ZAPDOS
|
|
const MOLTRES
|
|
const DRATINI
|
|
const DRAGONAIR
|
|
const DRAGONITE
|
|
const MEWTWO
|
|
const MEW
|
|
const CHIKORITA
|
|
const BAYLEEF
|
|
const MEGANIUM
|
|
const CYNDAQUIL
|
|
const QUILAVA
|
|
const TYPHLOSION
|
|
const TOTODILE
|
|
const CROCONAW
|
|
const FERALIGATR
|
|
const SENTRET
|
|
const FURRET
|
|
const HOOTHOOT
|
|
const NOCTOWL
|
|
const LEDYBA
|
|
const LEDIAN
|
|
const SPINARAK
|
|
const ARIADOS
|
|
const CROBAT
|
|
const CHINCHOU
|
|
const LANTURN
|
|
const PICHU
|
|
const CLEFFA
|
|
const IGGLYBUFF
|
|
const TOGEPI
|
|
const TOGETIC
|
|
const NATU
|
|
const XATU
|
|
const MAREEP
|
|
const FLAAFFY
|
|
const AMPHAROS
|
|
const BELLOSSOM
|
|
const MARILL
|
|
const AZUMARILL
|
|
const SUDOWOODO
|
|
const POLITOED
|
|
const HOPPIP
|
|
const SKIPLOOM
|
|
const JUMPLUFF
|
|
const AIPOM
|
|
const SUNKERN
|
|
const SUNFLORA
|
|
const YANMA
|
|
const WOOPER
|
|
const QUAGSIRE
|
|
const ESPEON
|
|
const UMBREON
|
|
const MURKROW
|
|
const SLOWKING
|
|
const MISDREAVUS
|
|
const UNOWN
|
|
const WOBBUFFET
|
|
const GIRAFARIG
|
|
const PINECO
|
|
const FORRETRESS
|
|
const DUNSPARCE
|
|
const GLIGAR
|
|
const STEELIX
|
|
const SNUBBULL
|
|
const GRANBULL
|
|
const QWILFISH
|
|
const SCIZOR
|
|
const SHUCKLE
|
|
const HERACROSS
|
|
const SNEASEL
|
|
const TEDDIURSA
|
|
const URSARING
|
|
const SLUGMA
|
|
const MAGCARGO
|
|
const SWINUB
|
|
const PILOSWINE
|
|
const CORSOLA
|
|
const REMORAID
|
|
const OCTILLERY
|
|
const DELIBIRD
|
|
const MANTINE
|
|
const SKARMORY
|
|
const HOUNDOUR
|
|
const HOUNDOOM
|
|
const KINGDRA
|
|
const PHANPY
|
|
const DONPHAN
|
|
const PORYGON2
|
|
const STANTLER
|
|
const SMEARGLE
|
|
const TYROGUE
|
|
const HITMONTOP
|
|
const SMOOCHUM
|
|
const ELEKID
|
|
const MAGBY
|
|
const MILTANK
|
|
const BLISSEY
|
|
const RAIKOU
|
|
const ENTEI
|
|
const SUICUNE
|
|
const LARVITAR
|
|
const PUPITAR
|
|
const TYRANITAR
|
|
const LUGIA
|
|
const HO_OH
|
|
const CELEBI
|
|
|
|
const_value SET const_value + -1
|
|
|
|
NUM_POKEMON EQU const_value
|
|
|
|
EGG EQU 253
|
|
|
|
; pokemon structure in RAM
|
|
MON_SPECIES EQUS "PartyMon1Species - PartyMon1"
|
|
MON_ITEM EQUS "PartyMon1Item - PartyMon1"
|
|
MON_MOVES EQUS "PartyMon1Moves - PartyMon1"
|
|
MON_ID EQUS "PartyMon1ID - PartyMon1"
|
|
MON_EXP EQUS "PartyMon1Exp - PartyMon1"
|
|
MON_STAT_EXP EQUS "PartyMon1StatExp - PartyMon1"
|
|
MON_HP_EXP EQUS "PartyMon1HPExp - PartyMon1"
|
|
MON_ATK_EXP EQUS "PartyMon1AtkExp - PartyMon1"
|
|
MON_DEF_EXP EQUS "PartyMon1DefExp - PartyMon1"
|
|
MON_SPD_EXP EQUS "PartyMon1SpdExp - PartyMon1"
|
|
MON_SPC_EXP EQUS "PartyMon1SpcExp - PartyMon1"
|
|
MON_DVS EQUS "PartyMon1DVs - PartyMon1"
|
|
MON_PP EQUS "PartyMon1PP - PartyMon1"
|
|
MON_HAPPINESS EQUS "PartyMon1Happiness - PartyMon1"
|
|
MON_PKRUS EQUS "PartyMon1PokerusStatus - PartyMon1"
|
|
MON_CAUGHTDATA EQUS "PartyMon1CaughtData - PartyMon1"
|
|
MON_CAUGHTLEVEL EQUS "PartyMon1CaughtLevel - PartyMon1"
|
|
MON_CAUGHTTIME EQUS "PartyMon1CaughtTime - PartyMon1"
|
|
MON_CAUGHTGENDER EQUS "PartyMon1CaughtGender - PartyMon1"
|
|
MON_CAUGHTLOCATION EQUS "PartyMon1CaughtLocation - PartyMon1"
|
|
MON_LEVEL EQUS "PartyMon1Level - PartyMon1"
|
|
MON_STATUS EQUS "PartyMon1Status - PartyMon1"
|
|
MON_HP EQUS "PartyMon1HP - PartyMon1"
|
|
MON_MAXHP EQUS "PartyMon1MaxHP - PartyMon1"
|
|
MON_ATK EQUS "PartyMon1Attack - PartyMon1"
|
|
MON_DEF EQUS "PartyMon1Defense - PartyMon1"
|
|
MON_SPD EQUS "PartyMon1Speed - PartyMon1"
|
|
MON_SAT EQUS "PartyMon1SpclAtk - PartyMon1"
|
|
MON_SDF EQUS "PartyMon1SpclDef - PartyMon1"
|
|
BOXMON_STRUCT_LENGTH EQUS "PartyMon1End - PartyMon1"
|
|
PARTYMON_STRUCT_LENGTH EQUS "PartyMon1StatsEnd - PartyMon1"
|
|
SCRATCHMON_STRUCT_LENGTH EQUS "PartyMon1StatsEnd - PartyMon1Item"
|
|
|
|
const_value SET 1
|
|
const MONMENU_CUT ; 1
|
|
const MONMENU_FLY ; 2
|
|
const MONMENU_SURF ; 3
|
|
const MONMENU_STRENGTH ; 4
|
|
const MONMENU_WATERFALL ; 5
|
|
const MONMENU_FLASH ; 6
|
|
const MONMENU_WHIRLPOOL ; 7
|
|
const MONMENU_DIG ; 8
|
|
const MONMENU_TELEPORT ; 9
|
|
const MONMENU_SOFTBOILED ; 10
|
|
const MONMENU_HEADBUTT ; 11
|
|
const MONMENU_ROCKSMASH ; 12
|
|
const MONMENU_MILKDRINK ; 13
|
|
const MONMENU_SWEETSCENT ; 14
|
|
|
|
const MONMENU_STATS ; 15
|
|
const MONMENU_SWITCH ; 16
|
|
const MONMENU_ITEM ; 17
|
|
const MONMENU_CANCEL ; 18
|
|
const MONMENU_MOVE ; 19
|
|
const MONMENU_MAIL ; 20
|
|
const MONMENU_ERROR ; 21
|
|
|
|
MONMENU_FIELD_MOVE EQU 0
|
|
MONMENU_MENUOPTION EQU 1
|