Skip to content

Share source GSC PP APIs with actual native healing, items and save repair - #401

Draft
Roxas2712 wants to merge 197 commits into
UNDERdecoded:mainfrom
Roxas2712:codex/upstream-gen2-mon-pp
Draft

Roxas2712 wants to merge 197 commits into
UNDERdecoded:mainfrom
Roxas2712:codex/upstream-gen2-mon-pp

Conversation

@Roxas2712

Copy link
Copy Markdown

Expose source GSC ppUpsOf, maxPpOf, partyMoves, restoreAllPp and repairMoves on the actual native move slots. Native healing and real save validation share the owner, including sparse boxes and both breeding slots/egg. Supply the missing GSC arithmetic prerequisite to the older host and route existing item, held-item, battle/wide HUD, script and link calculations through its capped maximum and legacy PP-Up inference; SKETCH retains its native PP-Up refusal.

Stacked on independently qualified PR400/current original main8d5b4387. The scoped native arithmetic groundwork comes from03c0534e; its separate unavailable older menu-result/selector producers are not copied or presented as implemented here. Source options-record construction, remaining Mon APIs, standalone battle/turn APIs and complete selector/visual parity remain open.

Independent actual older-host source94f819f1 passes all7selected groups:6642source PP,92real item/link,170native fields,238stat refresh,810native battler construction,5290appearance and4454frame/compositor checks. See docs/native-gen2-mon-pp.md. Newer-fork tests do not qualify this older tree; full-suite/GPU/packaged release acceptance is not claimed. No mod, protected Gen1 or player profile is changed.

Contributions by Roxas2712 — https://github.com/Roxas2712
Original integration/tests are offered under https://github.com/Roxas2712/Gen2Recomped/blob/main/LICENSE-ROXAS2712.md, including its specific Cedric / UNDERdecoded permission with visible credit. Existing authors’ rights, provenance, source notices and prior grants remain; 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