Files
gen1recomp/tests/engine
thibautbus 722c2fc45e Print Gold and Silver's Pokédex heights and weights in metric units
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.
2026-10-07 17:29:17 +02:00
..
2026-10-05 05:07:42 -04:00
2026-08-18 09:51:22 -04:00
2026-10-06 11:00:16 -04:00
2026-10-06 11:00:16 -04:00
2026-10-06 11:00:16 -04:00
2026-10-07 04:19:41 -04:00
2026-08-18 09:20:07 -04:00
2026-08-18 09:20:07 -04:00
2026-08-18 09:20:07 -04:00
2026-10-02 15:19:41 -04:00
2026-08-24 07:52:05 -04:00
2026-08-24 07:52:05 -04:00
2026-08-24 07:52:05 -04:00
2026-08-24 09:02:56 -04:00
2026-09-24 05:17:32 -04:00
2026-08-31 08:41:02 -04:00
2026-07-19 16:18:18 -04:00
2026-09-02 10:02:32 -04:00
2026-09-11 09:11:34 -04:00
2026-10-02 09:48:20 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-30 15:47:06 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-22 17:05:12 -04:00
2026-09-22 17:05:12 -04:00
2026-09-23 11:58:32 -04:00
2026-09-23 11:58:32 -04:00
2026-09-21 11:14:17 -04:00
2026-09-27 16:07:31 -04:00
2026-09-28 20:37:29 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-28 06:45:52 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-28 20:37:29 -04:00
2026-09-23 11:58:32 -04:00
2026-09-22 17:05:12 -04:00
2026-09-22 17:05:12 -04:00
2026-09-22 17:05:12 -04:00
2026-09-23 11:58:32 -04:00
2026-09-23 11:58:32 -04:00
2026-09-23 11:58:32 -04:00
2026-09-27 16:07:31 -04:00
2026-09-22 17:05:12 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-22 17:05:12 -04:00
2026-09-27 16:07:31 -04:00
2026-09-22 17:05:12 -04:00
2026-09-27 16:07:31 -04:00
2026-09-22 17:05:12 -04:00
2026-09-22 17:05:12 -04:00
2026-09-23 11:58:32 -04:00
2026-09-22 17:05:12 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-27 16:07:31 -04:00
2026-09-22 17:05:12 -04:00
2026-09-27 16:07:31 -04:00
2026-09-24 08:39:43 -04:00
2026-09-28 06:45:52 -04:00
2026-09-27 16:07:31 -04:00
2026-09-28 09:13:34 -04:00
2026-09-22 17:05:12 -04:00
2026-09-22 17:05:12 -04:00
2026-07-19 16:18:18 -04:00
2026-08-28 10:14:44 -04:00
2026-09-23 11:58:32 -04:00
2026-08-11 11:53:30 -04:00
2026-09-23 11:58:32 -04:00
2026-07-19 16:18:18 -04:00
2026-09-18 15:42:32 -04:00
2026-07-19 16:18:18 -04:00
2026-10-06 19:45:14 -04:00
2026-08-28 10:14:44 -04:00
2026-10-01 17:30:52 -04:00
2026-09-25 14:20:34 -04:00
2026-08-31 07:56:27 -04:00
2026-10-06 19:45:14 -04:00
2026-10-06 19:45:14 -04:00
2026-10-01 17:30:52 -04:00
2026-10-01 17:30:52 -04:00
2026-10-01 17:30:52 -04:00
2026-09-11 09:11:34 -04:00
2026-10-06 19:45:14 -04:00
2026-10-01 17:30:52 -04:00
2026-09-18 15:42:32 -04:00
2026-08-06 09:57:31 -04:00
2026-10-06 19:45:14 -04:00
2026-10-06 19:45:14 -04:00
2026-09-24 08:39:43 -04:00
2026-07-30 11:35:57 -04:00
2026-08-28 10:14:44 -04:00
2026-09-09 12:23:55 -04:00
2026-08-25 09:21:33 -04:00
2026-09-22 11:44:50 -04:00
2026-10-02 11:36:59 -04:00
2026-08-21 14:03:25 -04:00
2026-08-24 07:52:05 -04:00
2026-09-24 08:39:43 -04:00
2026-10-02 15:19:41 -04:00
2026-09-22 11:44:50 -04:00
2026-09-24 05:17:32 -04:00
2026-09-03 07:11:31 -04:00
2026-09-16 16:42:59 -04:00
2026-09-29 13:30:13 -04:00
2026-08-18 11:29:50 -04:00
2026-09-23 11:58:32 -04:00
2026-08-18 09:51:22 -04:00
2026-08-10 14:27:00 -04:00
2026-08-28 10:14:44 -04:00
2026-08-28 10:14:44 -04:00
2026-08-28 10:14:44 -04:00
2026-09-24 05:17:32 -04:00
2026-08-28 10:14:44 -04:00
2026-09-25 14:20:34 -04:00
2026-08-26 12:04:06 -04:00
2026-09-29 13:30:13 -04:00
2026-09-29 13:30:13 -04:00
2026-07-25 15:21:49 -04:00
2026-07-25 15:21:49 -04:00
2026-08-24 07:52:05 -04:00
2026-09-23 11:58:32 -04:00
2026-09-29 16:00:57 -04:00
2026-10-02 13:58:59 -04:00
2026-08-11 16:55:06 +02:00
2026-10-06 17:26:40 -04:00
2026-10-06 17:26:40 -04:00
2026-08-12 11:38:17 +02:00
2026-08-24 13:07:11 -04:00
2026-10-01 17:30:52 -04:00
2026-10-06 19:45:14 -04:00
2026-10-01 17:30:52 -04:00
2026-10-06 19:45:14 -04:00
2026-09-23 11:58:32 -04:00
2026-09-23 11:58:32 -04:00
2026-10-06 17:26:40 -04:00
2026-08-19 06:41:10 -04:00
2026-08-21 16:36:55 -04:00
2026-08-21 14:38:54 -04:00
2026-08-21 16:36:55 -04:00
2026-09-25 14:20:34 -04:00
2026-09-16 16:42:59 -04:00
2026-10-06 19:45:14 -04:00
2026-10-06 17:26:40 -04:00
2026-08-20 20:36:23 -04:00
2026-09-09 09:46:27 -04:00
2026-09-25 11:12:10 -04:00
2026-09-09 09:46:27 -04:00
2026-10-06 19:45:14 -04:00
2026-08-20 20:07:10 -04:00
2026-07-31 10:45:12 -04:00
2026-08-14 17:07:06 -04:00
2026-08-20 20:07:10 -04:00
2026-08-26 12:04:06 -04:00
2026-10-02 11:36:59 -04:00
2026-10-02 13:58:59 -04:00
2026-10-06 19:45:14 -04:00
2026-09-24 08:39:43 -04:00