aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/effects.asm (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-12-26Replace magic number `$7` with `SLP_MASK` constant (#555)Jordan Moore1-2/+2
2025-12-15Specify a max item length for `list_start` (#552)Rangi1-1/+1
2025-12-15Comment more unreferenced local labels (#550)Narishma-gb1-5/+7
2025-11-27Use more Pokemon data constants, create MOVE_NAME_LENGTH (#543)Narishma-gb1-2/+2
2025-11-25Avoid magic numbers for most `CopyData` calls (#542)Rangi1-1/+1
2025-11-18Use more hardware and graphics constants (#532)Narishma-gb1-1/+1
- Use `OBJ_SIZE` and `TILE_SIZE` from hardware.inc. - `SPRITESTATEDATA1_LENGTH`, `NUM_SPRITESTATEDATA_STRUCTS` and `TILE_1BPP_SIZE` are used in some places. - Highlight an oversight in `OakSpeech` where several direct MBC bank switches are requested. - Remove redundant comments in home/overworld.asm. - Add unreferenced `FillBgMap` function to avoid a byte of dead code. - Some constants added in wram.asm. - Correctly separate the commented code in `SaveMainData`.
2025-11-12Use features of RGBDS 1.0.0 (#537)Rangi1-1/+1
2025-09-03Label and constant cleanup (#528)Narishma-gb1-6/+6
* Label cleanup, add some constants instead of raw numbers * Rename load/save game functions to be more explicit
2025-06-03Fix typosdannye1-1/+1
2025-04-02Use constants for PP masks instead of magic numbers (#504)edave641-1/+1
2025-01-28Consistently capitalize `ASSERT` directives (#489)Rangi1-2/+2
2024-11-24Assert the relations between some move effect constants (#478)Sylvie1-3/+5
2024-09-23Identify more flag bits (#464)Sylvie1-1/+1
2024-09-18Identify remaining uses of `wd0b5` and `wd11e` (#463)Sylvie1-3/+3
2024-07-16Identify various flag labels and bit constants (#454)Sylvie1-2/+2
2023-11-21Use MEGA_PUNCH constant in explosion animation routine (#434)BlueZangoose1-2/+2
* Use MEGA_PUNCH constant in explosion animation routine * Add AnimationType constants and assert --------- Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-09-20Use PSN constant in PoisonEffect routine (#426)strager1-1/+1
2023-03-25Name some unnamed animation constants (#396)Vortyne1-8/+8
2021-11-02Identify some percentage constant valuesRangi1-7/+7
2021-08-28wcf4b -> wStringBufferRangi1-1/+1
2021-06-19Correct comments on SwitchAndTeleportEffectSnorlaxMonster1-2/+2
The comments in the SwitchAndTeleportEffect section incorrectly stated that the random number was generated in the half-open interval [0, playerLevel + enemyLevel), instead of the closed interval [0, playerLevel + enemyLevel].
2021-06-14Correct comments on SwitchAndTeleportEffectSnorlaxMonster1-2/+2
The comments in the SwitchAndTeleportEffect section incorrectly stated that the random number was generated in the half-open interval [0, playerLevel + enemyLevel), instead of the closed interval [0, playerLevel + enemyLevel].
2021-03-25Verify data table and name list sizes with assertion macrosRangi1-2/+2
Fixes #312
2021-02-21Clean up handling of extra effective status effectsdannye1-11/+13
2020-11-05Sync more with pokeredRangi1-1/+2
2020-11-05Sync more with pokeyellowRangi1-17/+18
2020-11-05Organize home and macro codeRangi1-2/+2
2020-11-04Sync with pokereddannye1-0/+1551
2020-07-07Use HIGH() and LOW()Rangi1-7/+8
2020-07-06callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfarRangi1-14/+14
2020-07-06Specify the ldh instruction, don't turn ld into ldhRangi1-61/+61
2020-07-04Port pokecrystal's formatting of text commands and special charactersRangi1-64/+64
2020-07-03H_CONSTANTNAMES -> hConstantNamesRangi1-61/+61
2020-07-03Add subdirectories to data/ similar to pokecrystalRangi1-2/+2
Top level text/ is now solely for the former text/maps/ files, and other files are in their respective subdirectories in data/.
2020-06-23Move more tables from engine/ to data/Rangi1-0/+1493
This also splits the end of engine/battle/core.asm into engine/battle/effects.asm.