Skip to content

Conversation

@Brianum
Copy link

@Brianum Brianum commented Jan 1, 2026

Merge 'pret/master' into master

  • Make all the changes required for the switch from hardware_constants.asm to hardware.inc
  • Make all the changes required for things that got deprecated in rgbds 1.0.0

Rangi42 and others added 30 commits May 31, 2025 15:08
* Label cleanup, add some constants instead of raw numbers

* Rename load/save game functions to be more explicit
Actually copies from battle struct to party struct to make HP and status changes to a pokemon permanent
* Use `SCREEN_WIDTH`, rename loop, and remove obsolete comment in `ClearScreenArea`

* Use `SCREEN_HEIGHT` and `lb` in `CopyScreenTileBufferToVRAM`

* Use `SCREEN_AREA` in `ClearScreen`
Rangi42 and others added 19 commits September 26, 2025 16:55
The `--ignore` flag is not needed in Gen 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`.
@Vortyne
Copy link
Owner

Vortyne commented Jan 1, 2026

Thanks for the PR! At the moment I am working on another branch on the new version so I cannot review this one yet, and won't be able to review until I am done the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants