aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace hard-coded numbers with constants in haze.asm (#564)DrNyk2026-01-171-2/+2
|
* Align move grammar with pokecrystal (#565)SnorlaxMonster2026-01-172-135/+142
| | | Add comments explaining the redundant move grammar categories inherited from the Japanese version.
* 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-152-2/+2
|
* Comment more unreferenced local labels (#550)Narishma-gb2025-12-157-36/+46
|
* Update `StatusScreen`, add `*_STATS_BOX` constants (#546)Narishma-gb2025-12-011-1/+1
|
* Use more Pokemon data constants, create MOVE_NAME_LENGTH (#543)Narishma-gb2025-11-279-52/+52
|
* Avoid magic numbers for most `CopyData` calls (#542)Rangi2025-11-257-32/+34
|
* Use `ld_hli_a_string` macro to make byte-by-byte strings more obvious (#540)Rangi2025-11-232-14/+2
|
* Use more hardware and graphics constants (#532)Narishma-gb2025-11-185-20/+20
| | | | | | | | | | | | - 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-127-34/+34
|
* Consistently use `ld [hli]`/`ld [hld]`, not `ldi`/`ldd`Rangi2025-10-052-8/+8
|
* Use RAMG_SRAM_ENABLE (#530)PokefanMarcel2025-09-071-1/+1
|
* Update comment for clarity (#529)Vortyne2025-09-031-1/+2
| | | Actually copies from battle struct to party struct to make HP and status changes to a pokemon permanent
* Label and constant cleanup (#528)Narishma-gb2025-09-032-30/+30
| | | | | * Label cleanup, add some constants instead of raw numbers * Rename load/save game functions to be more explicit
* Use `<STAT>_UP1_EFFECT` constants (#522)PokefanMarcel2025-08-161-4/+4
|
* Use less generic labels for party finding loops (#514)kagnusdev2025-07-071-4/+4
|
* Use combined hardware constantsRangi422025-06-301-3/+3
|
* Replace hardware_constants.asm with hardware.inc (#511)Rangi2025-06-303-30/+30
|
* Distinguish single trainer pics section from Pokemon picsRangi422025-06-251-1/+1
|
* Fix typosdannye2025-06-032-4/+4
|
* Add a `CANNOT_MOVE` constant (#508)Rangi2025-05-311-3/+6
|
* Use constants for PP masks instead of magic numbers (#504)edave642025-04-022-9/+9
|
* Fix some label typos, and add some constants instead of raw numbers (#492)Narishma-gb2025-01-301-4/+4
|
* Consistently capitalize `ASSERT` directives (#489)Rangi2025-01-282-4/+4
|
* Miscellaneous cleanup (#488)Rangi2025-01-283-4/+5
| | | Co-authored-by: SatoMew <SatoMew@users.noreply.github.com>
* Use `EFFECT_1E`Rangi422024-12-271-1/+1
|
* Don't pass redundant label names to `table_width` and `list_start` (#484)Rangi2024-12-271-1/+1
|
* Use RGBDS 0.9.0 (#482)Rangi2024-12-251-2/+1
|
* Use `SERIAL_RNS_LENGTH` in `BattleRandom`Rangi422024-12-211-2/+2
|
* Remove redundant parenthesesRangi422024-12-161-1/+1
|
* Use "gray", not "grey"Rangi422024-12-161-1/+1
| | | | This matches the in-game text, e.g. Pewter is "A Stone Gray City"
* Assert the relations between some move effect constants (#478)Sylvie2024-11-241-3/+5
|
* Fix comment: Road -> Roar (#466)Vortyne2024-09-241-4/+4
|
* Identify more flag bits (#464)Sylvie2024-09-236-32/+40
|
* Identify remaining uses of `wd0b5` and `wd11e` (#463)Sylvie2024-09-1810-43/+43
|
* Split `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462)Sylvie2024-09-182-2/+2
| | | Also identify `wPPUpCountAndMaxPP`
* Use correct label in get_trainer_name.asm (#461)Vortyne2024-09-091-1/+1
|
* Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457)Sylvie2024-08-046-23/+23
|
* Identify wcd6d as wNameBuffer and others (#455)Sylvie2024-07-245-15/+15
|
* Identify various flag labels and bit constants (#454)Sylvie2024-07-167-34/+34
|
* Identify some unused WRAM variables (#453)Sylvie2024-06-152-5/+5
|
* Fix a few usages of EFFECTIVEdannye2023-11-212-3/+2
|
* Use some more constants in place of raw numbersRangi422023-11-211-16/+16
|
* Replace some `$a` with `EFFECTIVE` (#399)RainbowMetalPigeon2023-11-211-2/+2
|
* Use MEGA_PUNCH constant in explosion animation routine (#434)BlueZangoose2023-11-212-8/+10
| | | | | | | | | * Use MEGA_PUNCH constant in explosion animation routine * Add AnimationType constants and assert --------- Co-authored-by: vulcandth <vulcandth@gmail.com>
* Add `bigdw` and `dc` data macrosRangi422023-11-203-56/+43
|
* Use PSN constant in PoisonEffect routine (#426)strager2023-09-201-1/+1
|
* Use charmap in link_battle_versus_text (#415)Linus Unnebäck2023-07-161-2/+2
|
* Thoroughly document debug code (#410)SatoMew2023-07-152-10/+17
|