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 Document constants with comments, actual names, and more thorough usage 2017-12-09 02:15:46 -05:00
battle_tower_constants.asm
cgb_constants.asm Move predef/ files into engine/ 2017-12-15 12:31:18 -05:00
collision_constants.asm
credits_constants.asm Copy pokered's organization some more, with further constant and data files 2017-12-15 17:22:52 -05:00
cry_constants.asm
deco_constants.asm Move lots of data tables into individual data/ files 2017-12-11 14:23:18 -05:00
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 Document constants with comments, actual names, and more thorough usage 2017-12-09 02:15:46 -05:00
music_constants.asm
npctrade_constants.asm Move lots of data tables into individual data/ files 2017-12-11 14:23:18 -05:00
phone_constants.asm
pokemon_constants.asm Move some misc/ files into meaningful directories 2017-12-15 12:53:33 -05:00
pokemon_data_constants.asm
printer_constants.asm
radio_constants.asm
script_constants.asm
serial_constants.asm
sfx_constants.asm
sprite_constants.asm Separate sprite constants and sprite-related data constants, like Pokémon and maps 2017-12-12 01:06:23 -05:00
sprite_data_constants.asm
std_constants.asm
tileset_constants.asm
trainer_constants.asm
type_constants.asm Document constants with comments, actual names, and more thorough usage 2017-12-09 02:15:46 -05:00
wram_constants.asm