summaryrefslogtreecommitdiff
path: root/constants/deco_constants.asm
AgeCommit message (Collapse)Author
2021-11-23Use compound assignment operatorsRangi
2021-03-22Verify uneven list sizes with list_start, li, and assert_list_length macrosRangi
This was discussed in #815
2021-03-04Define more struct offset constants with rsreset instead of const_defRangi
This was discussed in #739
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-07-10Use const_skip and const_next macros for brevityRangi
2020-07-08Eliminate enum: use const instead, with case-by-case parallel const ↵Rangi
implementations
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.)
2019-05-25Define appropriate constants as EQUmid-kid
These constants are defined only once and shouldn't be redefined anyway.
2018-04-01Update file paths in constants/ and docs/mid-kid
2018-02-02use "x + -1" not "x +- 1"Rangi
(TODO: use "x - 1" once rgbds allows it)
2017-12-28endm -> ENDMxCrystal
2017-12-27Move more decoration data to data/Remy Oukaour
2017-12-11Move lots of data tables into individual data/ filesRemy Oukaour
(This is not expected to be their final location, but it makes them easier to relocate when necessary, and easier for users to edit until the whole project's file structure is finalized.)
2017-12-09Document constants with comments, actual names, and more thorough usageRemy Oukaour
2015-12-29Item effects, post-battle, and decoration flagsPikalaxALT
2015-11-20bgcoordPikalaxALT
2015-11-17engine/decorations.asmPikalaxALT
2015-10-12Happiness and Mystery Gift constantsPikalaxALT
2015-07-23Replaced GROUP_, MAP_ references with the map macroPikalaxALT
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
2015-07-19Finished the decoration attributes tablePikalaxALT
Interpretation of the Decoration Attributes table is complete. Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.