aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/effects.asm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace magic number `$7` with `SLP_MASK` constant (#555)Jordan Moore2025-12-261-2/+2
|
* Specify a max item length for `list_start` (#552)Rangi2025-12-151-1/+1
|
* Comment more unreferenced local labels (#550)Narishma-gb2025-12-151-5/+7
|
* Use more Pokemon data constants, create MOVE_NAME_LENGTH (#543)Narishma-gb2025-11-271-2/+2
|
* Avoid magic numbers for most `CopyData` calls (#542)Rangi2025-11-251-1/+1
|
* Use more hardware and graphics constants (#532)Narishma-gb2025-11-181-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`.
* Use features of RGBDS 1.0.0 (#537)Rangi2025-11-121-1/+1
|
* Label and constant cleanup (#528)Narishma-gb2025-09-031-6/+6
| | | | | * Label cleanup, add some constants instead of raw numbers * Rename load/save game functions to be more explicit
* Fix typosdannye2025-06-031-1/+1
|
* Use constants for PP masks instead of magic numbers (#504)edave642025-04-021-1/+1
|
* Consistently capitalize `ASSERT` directives (#489)Rangi2025-01-281-2/+2
|
* Assert the relations between some move effect constants (#478)Sylvie2024-11-241-3/+5
|
* Identify more flag bits (#464)Sylvie2024-09-231-1/+1
|
* Identify remaining uses of `wd0b5` and `wd11e` (#463)Sylvie2024-09-181-3/+3
|
* Identify various flag labels and bit constants (#454)Sylvie2024-07-161-2/+2
|
* Use MEGA_PUNCH constant in explosion animation routine (#434)BlueZangoose2023-11-211-2/+2
| | | | | | | | | * Use MEGA_PUNCH constant in explosion animation routine * Add AnimationType constants and assert --------- Co-authored-by: vulcandth <vulcandth@gmail.com>
* Use PSN constant in PoisonEffect routine (#426)strager2023-09-201-1/+1
|
* Name some unnamed animation constants (#396)Vortyne2023-03-251-8/+8
|
* Identify some percentage constant valuesRangi2021-11-021-7/+7
|
* wcf4b -> wStringBufferRangi2021-08-281-1/+1
|
* Correct comments on SwitchAndTeleportEffectSnorlaxMonster2021-06-141-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].
* Verify data table and name list sizes with assertion macrosRangi2021-03-251-2/+2
| | | | Fixes #312
* Clean up handling of extra effective status effectsdannye2021-02-211-11/+13
|
* Sync more with pokeyellowRangi2020-11-051-17/+18
|
* Use HIGH() and LOW()Rangi2020-07-071-7/+8
|
* callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfarRangi2020-07-061-14/+14
|
* Specify the ldh instruction, don't turn ld into ldhRangi2020-07-061-61/+61
|
* Port pokecrystal's formatting of text commands and special charactersRangi2020-07-041-64/+64
|
* H_CONSTANTNAMES -> hConstantNamesRangi2020-07-031-61/+61
|
* Add subdirectories to data/ similar to pokecrystalRangi2020-07-031-2/+2
| | | | Top level text/ is now solely for the former text/maps/ files, and other files are in their respective subdirectories in data/.
* Move more tables from engine/ to data/Rangi2020-06-231-0/+1493
This also splits the end of engine/battle/core.asm into engine/battle/effects.asm.