pokecrystal/constants
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
..
animation_constants.asm
audio_constants.asm
battle_constants.asm
battle_tower_constants.asm
cgb_constants.asm
collision_constants.asm
credits_constants.asm
cry_constants.asm
deco_constants.asm
engine_flags.asm
event_flags.asm
gfx_constants.asm
hardware_constants.asm
input_constants.asm
item_constants.asm
landmark_constants.asm
map_constants.asm
map_dimension_constants.asm
map_setup_constants.asm
misc_constants.asm
mobile_constants.asm
move_constants.asm
music_constants.asm
npctrade_constants.asm
phone_constants.asm
pokemon_constants.asm
pokemon_data_constants.asm
printer_constants.asm
radio_constants.asm
script_constants.asm
serial_constants.asm
sfx_constants.asm
sprite_constants.asm
sprite_data_constants.asm
std_constants.asm
tileset_constants.asm
trainer_constants.asm
type_constants.asm
wram_constants.asm