pokecrystal-board/data/pokemon/evos_attacks_pointers.asm
Rangi 40902ffe24 Verify data table sizes with table_width and assert_table_length macros
This was discussed in #706

It also uncovered some off-by-one issues with defining some constants.

A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2021-03-04 00:15:03 -05:00

257 lines
5.9 KiB
NASM

; Evolutions and attacks are grouped together since they're both checked at level-up.
EvosAttacksPointers::
table_width 2, EvosAttacksPointers
dw BulbasaurEvosAttacks
dw IvysaurEvosAttacks
dw VenusaurEvosAttacks
dw CharmanderEvosAttacks
dw CharmeleonEvosAttacks
dw CharizardEvosAttacks
dw SquirtleEvosAttacks
dw WartortleEvosAttacks
dw BlastoiseEvosAttacks
dw CaterpieEvosAttacks
dw MetapodEvosAttacks
dw ButterfreeEvosAttacks
dw WeedleEvosAttacks
dw KakunaEvosAttacks
dw BeedrillEvosAttacks
dw PidgeyEvosAttacks
dw PidgeottoEvosAttacks
dw PidgeotEvosAttacks
dw RattataEvosAttacks
dw RaticateEvosAttacks
dw SpearowEvosAttacks
dw FearowEvosAttacks
dw EkansEvosAttacks
dw ArbokEvosAttacks
dw PikachuEvosAttacks
dw RaichuEvosAttacks
dw SandshrewEvosAttacks
dw SandslashEvosAttacks
dw NidoranFEvosAttacks
dw NidorinaEvosAttacks
dw NidoqueenEvosAttacks
dw NidoranMEvosAttacks
dw NidorinoEvosAttacks
dw NidokingEvosAttacks
dw ClefairyEvosAttacks
dw ClefableEvosAttacks
dw VulpixEvosAttacks
dw NinetalesEvosAttacks
dw JigglypuffEvosAttacks
dw WigglytuffEvosAttacks
dw ZubatEvosAttacks
dw GolbatEvosAttacks
dw OddishEvosAttacks
dw GloomEvosAttacks
dw VileplumeEvosAttacks
dw ParasEvosAttacks
dw ParasectEvosAttacks
dw VenonatEvosAttacks
dw VenomothEvosAttacks
dw DiglettEvosAttacks
dw DugtrioEvosAttacks
dw MeowthEvosAttacks
dw PersianEvosAttacks
dw PsyduckEvosAttacks
dw GolduckEvosAttacks
dw MankeyEvosAttacks
dw PrimeapeEvosAttacks
dw GrowlitheEvosAttacks
dw ArcanineEvosAttacks
dw PoliwagEvosAttacks
dw PoliwhirlEvosAttacks
dw PoliwrathEvosAttacks
dw AbraEvosAttacks
dw KadabraEvosAttacks
dw AlakazamEvosAttacks
dw MachopEvosAttacks
dw MachokeEvosAttacks
dw MachampEvosAttacks
dw BellsproutEvosAttacks
dw WeepinbellEvosAttacks
dw VictreebelEvosAttacks
dw TentacoolEvosAttacks
dw TentacruelEvosAttacks
dw GeodudeEvosAttacks
dw GravelerEvosAttacks
dw GolemEvosAttacks
dw PonytaEvosAttacks
dw RapidashEvosAttacks
dw SlowpokeEvosAttacks
dw SlowbroEvosAttacks
dw MagnemiteEvosAttacks
dw MagnetonEvosAttacks
dw FarfetchDEvosAttacks
dw DoduoEvosAttacks
dw DodrioEvosAttacks
dw SeelEvosAttacks
dw DewgongEvosAttacks
dw GrimerEvosAttacks
dw MukEvosAttacks
dw ShellderEvosAttacks
dw CloysterEvosAttacks
dw GastlyEvosAttacks
dw HaunterEvosAttacks
dw GengarEvosAttacks
dw OnixEvosAttacks
dw DrowzeeEvosAttacks
dw HypnoEvosAttacks
dw KrabbyEvosAttacks
dw KinglerEvosAttacks
dw VoltorbEvosAttacks
dw ElectrodeEvosAttacks
dw ExeggcuteEvosAttacks
dw ExeggutorEvosAttacks
dw CuboneEvosAttacks
dw MarowakEvosAttacks
dw HitmonleeEvosAttacks
dw HitmonchanEvosAttacks
dw LickitungEvosAttacks
dw KoffingEvosAttacks
dw WeezingEvosAttacks
dw RhyhornEvosAttacks
dw RhydonEvosAttacks
dw ChanseyEvosAttacks
dw TangelaEvosAttacks
dw KangaskhanEvosAttacks
dw HorseaEvosAttacks
dw SeadraEvosAttacks
dw GoldeenEvosAttacks
dw SeakingEvosAttacks
dw StaryuEvosAttacks
dw StarmieEvosAttacks
dw MrMimeEvosAttacks
dw ScytherEvosAttacks
dw JynxEvosAttacks
dw ElectabuzzEvosAttacks
dw MagmarEvosAttacks
dw PinsirEvosAttacks
dw TaurosEvosAttacks
dw MagikarpEvosAttacks
dw GyaradosEvosAttacks
dw LaprasEvosAttacks
dw DittoEvosAttacks
dw EeveeEvosAttacks
dw VaporeonEvosAttacks
dw JolteonEvosAttacks
dw FlareonEvosAttacks
dw PorygonEvosAttacks
dw OmanyteEvosAttacks
dw OmastarEvosAttacks
dw KabutoEvosAttacks
dw KabutopsEvosAttacks
dw AerodactylEvosAttacks
dw SnorlaxEvosAttacks
dw ArticunoEvosAttacks
dw ZapdosEvosAttacks
dw MoltresEvosAttacks
dw DratiniEvosAttacks
dw DragonairEvosAttacks
dw DragoniteEvosAttacks
dw MewtwoEvosAttacks
dw MewEvosAttacks
dw ChikoritaEvosAttacks
dw BayleefEvosAttacks
dw MeganiumEvosAttacks
dw CyndaquilEvosAttacks
dw QuilavaEvosAttacks
dw TyphlosionEvosAttacks
dw TotodileEvosAttacks
dw CroconawEvosAttacks
dw FeraligatrEvosAttacks
dw SentretEvosAttacks
dw FurretEvosAttacks
dw HoothootEvosAttacks
dw NoctowlEvosAttacks
dw LedybaEvosAttacks
dw LedianEvosAttacks
dw SpinarakEvosAttacks
dw AriadosEvosAttacks
dw CrobatEvosAttacks
dw ChinchouEvosAttacks
dw LanturnEvosAttacks
dw PichuEvosAttacks
dw CleffaEvosAttacks
dw IgglybuffEvosAttacks
dw TogepiEvosAttacks
dw TogeticEvosAttacks
dw NatuEvosAttacks
dw XatuEvosAttacks
dw MareepEvosAttacks
dw FlaaffyEvosAttacks
dw AmpharosEvosAttacks
dw BellossomEvosAttacks
dw MarillEvosAttacks
dw AzumarillEvosAttacks
dw SudowoodoEvosAttacks
dw PolitoedEvosAttacks
dw HoppipEvosAttacks
dw SkiploomEvosAttacks
dw JumpluffEvosAttacks
dw AipomEvosAttacks
dw SunkernEvosAttacks
dw SunfloraEvosAttacks
dw YanmaEvosAttacks
dw WooperEvosAttacks
dw QuagsireEvosAttacks
dw EspeonEvosAttacks
dw UmbreonEvosAttacks
dw MurkrowEvosAttacks
dw SlowkingEvosAttacks
dw MisdreavusEvosAttacks
dw UnownEvosAttacks
dw WobbuffetEvosAttacks
dw GirafarigEvosAttacks
dw PinecoEvosAttacks
dw ForretressEvosAttacks
dw DunsparceEvosAttacks
dw GligarEvosAttacks
dw SteelixEvosAttacks
dw SnubbullEvosAttacks
dw GranbullEvosAttacks
dw QwilfishEvosAttacks
dw ScizorEvosAttacks
dw ShuckleEvosAttacks
dw HeracrossEvosAttacks
dw SneaselEvosAttacks
dw TeddiursaEvosAttacks
dw UrsaringEvosAttacks
dw SlugmaEvosAttacks
dw MagcargoEvosAttacks
dw SwinubEvosAttacks
dw PiloswineEvosAttacks
dw CorsolaEvosAttacks
dw RemoraidEvosAttacks
dw OctilleryEvosAttacks
dw DelibirdEvosAttacks
dw MantineEvosAttacks
dw SkarmoryEvosAttacks
dw HoundourEvosAttacks
dw HoundoomEvosAttacks
dw KingdraEvosAttacks
dw PhanpyEvosAttacks
dw DonphanEvosAttacks
dw Porygon2EvosAttacks
dw StantlerEvosAttacks
dw SmeargleEvosAttacks
dw TyrogueEvosAttacks
dw HitmontopEvosAttacks
dw SmoochumEvosAttacks
dw ElekidEvosAttacks
dw MagbyEvosAttacks
dw MiltankEvosAttacks
dw BlisseyEvosAttacks
dw RaikouEvosAttacks
dw EnteiEvosAttacks
dw SuicuneEvosAttacks
dw LarvitarEvosAttacks
dw PupitarEvosAttacks
dw TyranitarEvosAttacks
dw LugiaEvosAttacks
dw HoOhEvosAttacks
dw CelebiEvosAttacks
assert_table_length NUM_POKEMON