100 Commits

Author SHA1 Message Date
Narishma-gb e89ead154b Add some constants, minor cleanup (#166) 2026-09-02 11:23:57 -04:00
Rangi 2f25a18de3 Merge remote-tracking branch 'pokered/master' 2026-08-27 18:30:18 -04:00
Narishma-gb 079d1cc92f Fix some text formatting, constants, unreferenced local labels (#596) 2026-08-06 16:48:33 -04:00
dannye bc2354dd66 Merge branch 'master' of https://github.com/pret/pokered 2026-01-17 22:38:33 -06:00
Narishma-gb e9d3324bc0 Comment more unreferenced local labels (#550) 2025-12-15 15:14:17 -05:00
Narishma-gb 3a4382c605 Use more Pokemon data constants, create MOVE_NAME_LENGTH (#543) 2025-11-27 13:39:25 -05:00
Narishma-gb f332678625 Use more hardware and graphics constants (#532)
- 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-18 15:17:31 -05:00
dannye 324ae167d1 Merge branch 'master' of https://github.com/pret/pokered 2025-11-12 17:56:10 -06:00
Rangi 5943b96cf6 Use features of RGBDS 1.0.0 (#537) 2025-11-12 15:44:07 -05:00
Rangi 628797baff Revise some RAM buffer constants 2025-09-26 16:55:23 -04:00
Narishma-gb d237b01cfb Misc. naming and cleanup (#139)
* Name some printer/diploma routines

* Name `wd434`

* Name `NAME_LENGTH_JP`

* Rename `callabd`/`calladb` to `farcall`/`callfar`
2025-09-10 00:31:11 -04:00
dannye 377749ca4e Merge branch 'master' of https://github.com/pret/pokered 2025-09-06 16:54:17 -05:00
Narishma-gb 4d2594cb24 Label and constant cleanup (#528)
* Label cleanup, add some constants instead of raw numbers

* Rename load/save game functions to be more explicit
2025-09-03 11:56:09 -04:00
kagnusdev 03388ca248 Replace hardcoded offset with address (#132) 2025-07-23 22:36:13 -04:00
thoth-33 6e9c7198a1 Add more labels and constants for Options menu (#133)
* Copy more structure from pokecrystal

---------

Co-authored-by: Rangi42 <sylvie.oukaour+rangi42@gmail.com>
2025-07-23 17:43:31 -04:00
dannye ca019eac8f Merge branch 'master' of https://github.com/pret/pokered 2025-07-02 21:15:13 -05:00
Rangi42 78e44a8fb1 Use combined hardware constants 2025-06-30 13:45:24 -04:00
Rangi 56c405de09 Replace hardware_constants.asm with hardware.inc (#511) 2025-06-30 12:47:22 -04:00
dannye fd043a66c2 Fix typos 2025-06-03 23:48:35 -05:00
dannye 2c74f137fc Merge branch 'master' of https://github.com/pret/pokered 2025-05-10 12:25:27 -05:00
Narishma-gb 0ecc36c83a Use constants in PrintBCDNumber calls (#503) 2025-04-08 22:17:32 -05:00
dannye 6cb885a9f6 Merge branch 'master' of https://github.com/pret/pokered 2025-01-30 21:40:19 -06:00
Rangi ec37f6117d Consistently capitalize ASSERT directives (#489) 2025-01-28 23:31:27 -05:00
Rangi42 67084c9d26 Remove redundant parentheses 2024-12-16 10:35:55 -05:00
dannye 716f8608c1 Rename off-by-one wram labels 2024-09-29 10:50:46 -05:00
Sylvie 7d9858fec4 Identify more bit flags (#119)
* Identify more bit flags

* Bit serves dual use in debug mode
2024-09-29 10:24:35 -05:00
dannye a02a98ee7a Merge branch 'master' of https://github.com/pret/pokered 2024-09-25 00:45:00 -05:00
Sylvie 635b9c4cab Identify wCurrentMapScriptFlags bits (#467) 2024-09-24 11:39:44 -04:00
Sylvie 8f1dcf07e5 Identify more flag bits (#464) 2024-09-23 23:51:44 -04:00
Sylvie 5a622f628d Identify remaining uses of wd0b5 and wd11e (#463) 2024-09-18 21:41:58 -04:00
Sylvie 613d34678b Split hSpriteIndexOrTextID into hSpriteIndex and hTextID (#462)
Also identify `wPPUpCountAndMaxPP`
2024-09-18 21:01:18 -04:00
Sylvie 77d051479b Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457) 2024-08-04 10:05:33 -04:00
Sylvie 6e3ab0a9e9 Identify wcd6d as wNameBuffer and others (#455) 2024-07-24 12:21:59 -04:00
Sylvie 8fafca714c Identify various flag labels and bit constants (#454) 2024-07-16 13:02:54 -04:00
SatoMew 57bec62508 Improve documentation of some SRAM routines (#114) 2024-06-26 21:19:06 -05:00
Sylvie fc23e72a39 Identify some unused WRAM variables (#453) 2024-06-15 12:18:00 -04:00
dannye b135272f95 Merge branch 'master' of https://github.com/pret/pokered 2024-05-05 11:06:40 -05:00
Rangi fabe2b3fb3 Update to RGBDS 0.7.0 (#447) 2024-01-03 10:59:04 -05:00
dannye 04f7f7f506 Merge branch 'master' of https://github.com/pret/pokered 2023-11-21 20:56:28 -06:00
Rangi42 0a616ae560 Get rid of wEvosMoves, MAX_EVOLUTIONS, and EVOLUTION_SIZE
Fixes #430
2023-11-21 20:33:03 -05:00
SatoMew a681f718ac Rename EV_* constants to EVOLVE_* like pokecrystal (#407) 2023-11-21 19:54:39 -05:00
dannye 298e99d377 Merge branch 'master' of https://github.com/pret/pokered 2023-11-20 20:23:27 -06:00
Rangi42 77887be251 Identify wSavedCoordIndex and its other usages 2023-11-20 18:53:23 -05:00
Linus Unnebäck 83b373ad73 Add constants for wMapConnections bits and group map header wram labels
* Add constants for wMapConnections bits

* Apply Vulcandth and Rangi42 feedback

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-11-17 12:50:27 -06:00
SatoMew a38c7922dd Improve comment about the "ED" tile bug (#421) 2023-07-16 20:22:06 -05:00
SatoMew f46db37d50 Thoroughly document debug code (#410) 2023-07-15 18:36:59 -04:00
dannye 667f1febbe Merge branch 'master' of https://github.com/pret/pokered 2023-04-25 19:52:12 -05:00
SatoMew 5c4795d5bc Complete and improve debug name labels (#408) 2023-02-26 11:14:21 -05:00
dannye ecab35295a Merge branch 'master' of https://github.com/pret/pokered 2022-09-12 00:53:37 -05:00
Rangi 8f81e71f19 Identify some .asm_* labels 2022-07-10 21:11:03 -04:00