Skip to content

Fix warnings for VC builds and wStringBuffer's length#13

Open
kagnusdev wants to merge 181 commits intoeinstein95:masterfrom
kagnusdev:sync-with-pret
Open

Fix warnings for VC builds and wStringBuffer's length#13
kagnusdev wants to merge 181 commits intoeinstein95:masterfrom
kagnusdev:sync-with-pret

Conversation

@kagnusdev
Copy link
Copy Markdown
Contributor

This PR fixes the warnings that appear when building the VC versions. It also fixes wStringBuffer's length.

I merged directly from pret/pokered's master but it looks like the previous synchronizations were made by cherry picking so this branch contains the original commits whose changes were already applied. If this is a problem, I'll remove them.

Rangi42 and others added 30 commits October 14, 2022 16:21
From pokecrystal:
- 0425018d1ce5b3b726e3cd83f59f14ead9171c92
- 8b429e2a545e87407a3b8c7b92f7ceafc455e390
* Add table assertion to `TrainerDataPointers`

* Add table assertion to `TrainerNamePointers`
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
Co-authored-by: mid-kid <esteve.varela@gmail.com>
* Add constants for wMapConnections bits

* Apply Vulcandth and Rangi42 feedback

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
* Added newer decomp projects to readme

* Lowercase pret

* Replaced decomp list with pret.github.io link

* Align readme with pokecrystal

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
Resolves #411

Co-Authored-By: SnDream <12762219+sndream@users.noreply.github.com>
`TilePairCollisionsWater` contains the entry `db CAVERN, $14, $05`, which prevents surfing from raised cave ground tiles. If `wTilePlayerStandingOn` is not updated when the start menu is opened, it will be left at the previous tile, which will be the raised ground tile if you have just walked onto the stairs from one.
Rangi42 and others added 30 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`.
Add comments explaining the redundant move grammar categories inherited from the Japanese version.
Co-authored-by: SnorlaxMonster <snorlaxmonster@users.noreply.github.com>
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.