Skip to content

Share native GSC stat refresh and source Mon signatures - #400

Draft
Roxas2712 wants to merge 194 commits into
UNDERdecoded:mainfrom
Roxas2712:codex/upstream-gen2-stat-refresh
Draft

Roxas2712 wants to merge 194 commits into
UNDERdecoded:mainfrom
Roxas2712:codex/upstream-gen2-stat-refresh

Conversation

@Roxas2712

Copy link
Copy Markdown

Add source GSC stats, hpDV, refreshStats(mon,data) and the correctly ordered syncIdentity(mon,data) over the actual native Pokemon and stat owners. The native summary uses the same recalculation, and weak ownership updates shared native battler stats without overwriting separate Transform overrides. Explicit later IV/EV/nature models retain their native calculation.

This composes current original main 8d5b438 with the actual prerequisite offers #373 (appearance), #307 (Unown), #396 (native battler/model) and #399 (field/viewport stack). Current move-refusal routing, both renderer composition paths, palette services, registry identities and credits are retained. It is a stacked draft, not a request to bypass prerequisite review.

Independent qualification of corrected composed source 26114b4: all 17 selected suites pass, including 185360 formula checks, 238 actual SDK/native refresh checks, 170 native field checks, 810 native battler construction checks, 5290 appearance, 66245 Unown and 4454 actual compositor/frame-query checks. The initial combined run exposed cross-generation field binding; that integration error was corrected and the unchanged negative-generation checks now pass. See docs/native-gen2-stat-refresh.md for the complete selected evidence and scope.

The older inherited RNG constructor remains intact; source options-record construction, the remaining Mon API and standalone battle constructor/turn APIs are still open. No full-suite, GPU or packaged release qualification is claimed. No mod or player installation is changed.

Contributions by Roxas2712 — https://github.com/Roxas2712
Original integration/test additions are offered under https://github.com/Roxas2712/Gen2Recomped/blob/main/LICENSE-ROXAS2712.md, including its specific Cedric / UNDERdecoded permission with visible credit. Existing engine authors’ rights, provenance, notices and earlier grants remain effective; included Gen1-derived ScreenPosition retains its GPLv3/Section7 terms.

# Conflicts:
#	src/mods/Loader.lua
# Conflicts:
#	docs/modding.md
#	src/mods/Loader.lua
#	src/world/WorldAPI.lua
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.

1 participant