mirror of
https://github.com/bryanthaboi/gen1recomp
synced 2026-10-08 09:42:55 -04:00
722c2fc45e
The #DEX page prints the US cart's height in feet and inches, with the foot and inch tiles, and its weight in pounds; the localized carts print metres and kilograms ("TAI ???m", "PDS ???kg"). A mod can now give a species its metric height and weight the way it can on Red/Blue: mod.content.pokemon:patch(id, { dexEntry = { heightM = ..., weightKg = ... } }). src/core/gen2/PokedexText.lua copies them onto the #DEX entry beside the cart's own values, and the page then prints them with one decimal and a comma, right-aligned before the "m" and "kg" labels, "???" until the species is caught; the printout draws the same body, and the plain page drawn without the cache's dex sheet prints the metric values as it prints the imperial ones. The Gen 2 pokemon schema declares the dexEntry fields the #DEX page reads.
The Pokédex resolves the "m" and "kg" labels when it opens (PokedexMenu.new) rather than on every frame.
Documentation
These docs cover the port itself. Guides for modding, link play, the save editor, and developer setup live on the project wiki.
Guides
- Rulesets: gen1_faithful vs modern_clean battle rules
- Online play: lobby, battles, tournaments, trading
- Launch options: CLI flags and
gen1recomp++://URLs - Portable mode: keep saves and cache next to the game
- Running from source
- New features: what this port adds over the originals