pokecrystal-board/data/items
Remy Oukaour aa97752efe Move NUM_BUENA_PRIZES to event/buena.asm (still hard-coded)
Buena_PrizeMenu has "rept NUM_BUENA_PRIZES", which needs NUM_BUENA_PRIZES to be already defined. BuenaPrizeItems and BuenaPrizeItemsEnd are needed to define NUM_BUENA_PRIZES; but BuenaPrizeItems is defined after Buena_PrizeMenu. I don't see a way to avoid hard-coding its value of 9.

Contrast that with the NUM_MOM_ITEMS constants, which are not used as "rept" arguments and so can be defined within their code file.
2017-12-23 00:31:04 -05:00
..
bargain_shop.asm Copy pokered's organization some more, with further constant and data files 2017-12-15 17:22:52 -05:00
buena_prizes.asm Move NUM_BUENA_PRIZES to event/buena.asm (still hard-coded) 2017-12-23 00:31:04 -05:00
fruit_trees.asm Copy pokered's organization some more, with further constant and data files 2017-12-15 17:22:52 -05:00
item_attributes.asm Split items/ and trainers/ into their data/ and engine/ components 2017-12-14 23:00:54 -05:00
item_descriptions.asm Split items/ and trainers/ into their data/ and engine/ components 2017-12-14 23:00:54 -05:00
item_names.asm Split items/ and trainers/ into their data/ and engine/ components 2017-12-14 23:00:54 -05:00
marts.asm Split items/ and trainers/ into their data/ and engine/ components 2017-12-14 23:00:54 -05:00
mom_phone.asm Copy pokered's organization some more, with further constant and data files 2017-12-15 17:22:52 -05:00
rooftop_sale.asm Copy pokered's organization some more, with further constant and data files 2017-12-15 17:22:52 -05:00