Logo
Explore Help
Sign In
pokehacks/pokecrystal-board
0
0
Fork 0
You've already forked pokecrystal-board
mirror of https://gitlab.com/xCrystal/pokecrystal-board.git synced 2025-09-08 08:13:02 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
51bbfee89192cd93c49e3c400ca8745cc3e77e30
pokecrystal-board/data/items/buena_prizes.asm

14 lines
298 B
NASM
Raw Normal View History

Copy pokered's organization some more, with further constant and data files
2017-12-15 17:22:52 -05:00
BuenaPrizeItems: ; 8b15e
Move events/ to engine/events/
2017-12-27 00:09:12 -05:00
; there are NUM_BUENA_PRIZES items (see engine/events/buena.asm)
Copy pokered's organization some more, with further constant and data files
2017-12-15 17:22:52 -05:00
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
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
BuenaPrizeItemsEnd:
Copy pokered's organization some more, with further constant and data files
2017-12-15 17:22:52 -05:00
; 8b170
Reference in New Issue Copy Permalink
Powered by Gitea Page: 71ms Template: 4ms
English
English
Licenses API