summaryrefslogtreecommitdiff
path: root/engine/items/item_effects.asm
AgeCommit message (Collapse)Author
2022-02-22Rename `GetPokedexEntryBank` to `HeavyBall_GetDexEntryBank`Rangi
2021-11-23Use ~X instead of $ff ^ XRangi
2021-03-17Consistent labels for each nickname in RAMRangi
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
2021-01-09Rename GetFarHalfword to GetFarWordRangi
Fixes #796
2020-12-23Rename some labelsRangi
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
2020-11-03Identify remaining uses of wBuffer1-6 as general-purpose HP buffers or mobileRangi
2020-11-03Identify some more uses of wBuffer1-6Rangi
2020-10-29Identify the remaining (non-mobile) uses of another WRAM unionRangi
2020-10-26Comment, remove, or revise many unreferenced labelsRangi
2020-10-04Identify some more unnamed labelsRangi
2020-09-27Fix #769: document the Heavy Ball weight bank bugRangi
2020-08-03Better label 2D menu datamid-kid
2020-06-22Identify some more labelsRangi
2020-06-21Sync PokeFluteTerminator with pokegoldRangi
2020-06-17Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to ↵Rangi
OpenSRAM) To do: engine/{menus, overworld}
2020-06-17Harmonize engine/{gfx, items, link, math} with pokegoldRangi
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-02-13Standardize on lowercase Tilemap and Attrmapmid-kid
We used to have a mixture of TileMap and and Tilemap, as well as the similar AttrMap. Standardize on one.
2019-10-20#641 fixes and additions. (#646)mid-kid
Name a lot of text labels according to our conventions
2019-04-09TextBox -> Textboxmid-kid
Homogenizing names.
2018-11-18Resolve issue #575: Rename text commandsRangi
2018-11-05text_jump → text_farmid-kid
The previous name for this was rather misleading. It isn't an actual jump like you'd expect the `jp` instruction to behave as. Instead, it behaves more like a `farcall`. This also makes it consistent with its current command ID name of `TX_FAR`.
2018-09-22Naming screen constantsRangi
2018-08-26hQuotient is a four-byte buffer (fixes #558)Rangi
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-08-17Fix some StatUp-related labelsmid-kid
2018-07-29Add meaningful aliases for wd265Rangi
Introduce MONICON_* constants Introduce BATTLEPLAYERACTION_* constants
2018-06-25No space between labels and bodiesRangi
2018-06-25Remove more triple newlinesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-25Remove even more address commentsmid-kid
That should be all of them this time
2018-06-24Remove all address commentsmid-kid
2018-06-12Note which labels are only needed for locating banks (relevant to issue #485)Rangi
2018-05-06'rept' is not indentedRangi
2018-04-05Use constants for bit/set/res moreRangi
2018-03-14Organize the engine/ directory, take 2mid-kid
Renamed `game` to `games` and `menu` to `menus`. Moved some functions from `engine/routines/` to their fitting subdirectories. Made two new subdirectories: * engine/rtc: Contains all RTC-related things. Menus, hardware, misc functions. * engine/items: Contains all item-related things. Pack, item effects, other item handlers.