diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-23 00:31:04 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-23 00:31:04 -0500 |
commit | aa97752efeef1425a0e0a00059f4a44569c917fc (patch) | |
tree | 5c3318a90425a347546c1aa6e63db3ea810928d1 /macros/code.asm | |
parent | daa071451d998e7cf460468870ca82498a5eb4af (diff) |
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.
Diffstat (limited to 'macros/code.asm')
0 files changed, 0 insertions, 0 deletions