mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
aa97752efe
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.
14 lines
290 B
NASM
14 lines
290 B
NASM
BuenaPrizeItems: ; 8b15e
|
|
; there are NUM_BUENA_PRIZES items (see event/buena.asm)
|
|
db ULTRA_BALL, 2
|
|
db FULL_RESTORE, 2
|
|
db NUGGET, 3
|
|
db RARE_CANDY, 3
|
|
db PROTEIN, 5
|
|
db IRON, 5
|
|
db CARBOS, 5
|
|
db CALCIUM, 5
|
|
db HP_UP, 5
|
|
BuenaPrizeItemsEnd:
|
|
; 8b170
|