pokecrystal/event
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
..
bug_contest Move more main.asm code into individual files 2017-12-15 21:22:26 -05:00
basement_key.asm More menu stuff 2015-12-17 22:31:16 -05:00
battle_tower.asm Labeled every function in ROM0 that's referenced in the source 2016-05-10 12:31:49 -04:00
buena.asm Move NUM_BUENA_PRIZES to event/buena.asm (still hard-coded) 2017-12-23 00:31:04 -05:00
buena_menu.asm Move more main.asm code into individual files 2017-12-15 21:22:26 -05:00
card_key.asm Events and some WRAM cleanup 2015-12-18 20:07:09 -05:00
catch_tutorial.asm Move more contiguous related code blocks from main.asm to engine/ and events/ 2017-12-15 20:10:54 -05:00
catch_tutorial_input.asm Move more contiguous related code blocks from main.asm to engine/ and events/ 2017-12-15 20:10:54 -05:00
celebi.asm Consolidate duplicate graphics 2017-12-16 12:09:16 -05:00
daycare.asm Consistent capitalization for map names, matching their constants 2017-12-10 13:37:15 -05:00
dratini.asm More splitting of main.asm; remove unneeded rept 2 2016-05-04 11:46:23 -04:00
elevator.asm Consistent pointer labels in WRAM 2017-12-09 22:24:43 -05:00
field_moves.asm Rename overworld sprite files, consistent with their constants 2017-12-11 00:17:39 -05:00
forced_movement.asm Unify directional movement macros 2016-05-14 13:46:14 -04:00
halloffame.asm More WRAM cleanup 2017-12-09 22:00:36 -05:00
happiness_egg.asm Keep table labels in the same files as their contents. 2017-12-11 22:44:25 -05:00
heal_machine_anim.asm Move more main.asm code into individual files 2017-12-15 21:22:26 -05:00
itemfinder.asm Events and some WRAM cleanup 2015-12-18 20:07:09 -05:00
kurt.asm More splitting of main.asm; remove unneeded rept 2 2016-05-04 11:46:23 -04:00
lucky_number.asm Move more contiguous related code blocks from main.asm to engine/ and events/ 2017-12-15 20:10:54 -05:00
magikarp.asm Move some gfx/unknown/ files into meaningful directories 2017-12-09 23:37:08 -05:00
magnet_train.asm Document constants with comments, actual names, and more thorough usage 2017-12-09 02:15:46 -05:00
misc_scripts.asm Move some more main.asm routines into individual files 2017-12-16 19:00:50 -05:00
misc_scripts_2.asm Move some more main.asm routines into individual files 2017-12-16 19:00:50 -05:00
mom.asm Replace ‘jp [hl]’ with ‘jp hl’ 2017-06-09 22:01:10 +01:00
mom_phone.asm Move NUM_BUENA_PRIZES to event/buena.asm (still hard-coded) 2017-12-23 00:31:04 -05:00
move_deleter.asm More work on slots; WRAM cleanup, Move Deleter 2015-12-19 14:48:30 -05:00
move_tutor.asm Move more contiguous related code blocks from main.asm to engine/ and events/ 2017-12-15 20:10:54 -05:00
name_rater.asm Replace party struct relative values with EQUS constants 2015-11-04 11:31:00 -05:00
overworld.asm Better file name 2017-12-11 17:13:38 -05:00
poisonstep.asm Local labels starting with lowercase letters are no longer decorated with a trailing colon 2016-04-10 15:01:49 -04:00
poisonstep_pals.asm Move more main.asm code into individual files 2017-12-15 21:22:26 -05:00
poke_seer.asm More splitting of main.asm; remove unneeded rept 2 2016-05-04 11:46:23 -04:00
print_photo.asm Move more main.asm code into individual files 2017-12-15 21:22:26 -05:00
print_unown.asm Move more main.asm code into individual files 2017-12-15 21:22:26 -05:00
print_unown_2.asm Move more main.asm code into individual files 2017-12-15 21:22:26 -05:00
sacred_ash.asm Elevator 2015-12-17 17:51:32 -05:00
special.asm Move more contiguous related code blocks from main.asm to engine/ and events/ 2017-12-15 20:10:54 -05:00
squirtbottle.asm Name all functions in event/ 2016-05-10 12:59:34 -04:00
std_collision.asm Move some more main.asm routines into individual files 2017-12-16 19:00:50 -05:00
sweet_scent.asm Labelling Sweet Scent. 2017-10-25 00:14:05 -04:00
unown.asm Reorganize macros 2017-12-14 00:36:24 -05:00
whiteout.asm Further WRAM organization 2017-12-09 15:14:51 -05:00