summaryrefslogtreecommitdiff
path: root/data/items
AgeCommit message (Collapse)Author
2021-03-22Verify uneven list sizes with list_start, li, and assert_list_length macrosRangi
This was discussed in #815
2021-03-22Miscellaneous cleanupRangi
2021-03-04Verify data table sizes with table_width and assert_table_length macrosRangi
This was discussed in #706 It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2020-11-03More syncing with pokegoldRangi
2020-08-13Consistent constants for radio data table sizes (could still be better)Rangi
2020-07-01Identify more labels, and use the jumptable macro when possibleRangi
2020-03-21Add suffixes to some constants to avoid ambiguityRangi
- `PSYCHIC` → `PSYCHIC_TYPE` (not the trainer `PSYCHIC_T` or the move `PSYCHIC_M`) - `BLACKBELT` → `BLACKBELT_I` (not the trainer `BLACKBELT_T`) - `CURSE_T` → `CURSE_TYPE` (not the move `CURSE`) - `TOWN_MAP_D` → `TOWN_MAP_POSTER` (not the item `TOWN_MAP`) This also uncovered a misidentified event: `EVENT_DECO_PLANT_4` → `EVENT_DECO_POSTER_1`. (There are three plants and four posters.)
2020-03-21Miscellaneous fixes from #694Rangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-24Remove all address commentsmid-kid
2018-06-04Use structure constants for channel_structmid-kid
2018-05-18Constants for PC menu indexesRangi
'db ' -> 'db '
2018-05-05Explicit NO_LIMITS instead of 0Rangi
2018-05-05Use explicit HELD_NONE, not 0Rangi
2018-02-05No redundant item effect labelsRangi
2018-01-25Move event data to data/events/Rangi
2018-01-25More battle data in data/battle/Rangi
2018-01-23MenuDataHeader → MenuHeader, MenuData2 → MenuData (might complete issue ↵Rangi
#440)
2018-01-22wUnlockedUnowns engine flag constantsRangi
Use local labels for "End"ings
2018-01-12Move code out of data/Remy Oukaour
2018-01-11Group item and deco data moreRemy Oukaour
2018-01-11More constants and data tablesRemy Oukaour
2018-01-10Arrays end with -1, not $ffRemy Oukaour
2018-01-03More relevant data file locationsRemy Oukaour
2017-12-28Uppercase MACRO and EQU(S) according to the style guidexCrystal
2017-12-27Remove redundant data/ filename prefixesRemy Oukaour
2017-12-27Move events/ to engine/events/Remy Oukaour
2017-12-26event/ → events/, and move some appropriate engine/ files thereRemy Oukaour
2017-12-26Name mail graphicsRemy Oukaour
2017-12-24Merge branch 'master' of https://github.com/pret/pokecrystalRemy Oukaour
2017-12-24callba/callab → farcall/callfarRemy Oukaour
2017-12-24HELD_TRADE_EVOLVE -> HELD_FLINCHmid-kid
This item effect effectively causes the target to flinch (sometimes). It's not exclusive to trade evolve items in later generations either.
2017-12-23Move NUM_BUENA_PRIZES to event/buena.asm (still hard-coded)Remy Oukaour
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-15Copy pokered's organization some more, with further constant and data filesRemy Oukaour
2017-12-14Split items/ and trainers/ into their data/ and engine/ componentsRemy Oukaour
Move some data into a pokemon/ subdirectory