Port the trainer card and the play time
The player's name in the start menu opens TrainerCard: page 1 with the name, ID, money, Pokédex count and play time, page 2 with the Johto leaders and the badges owned, turned and closed with the original buttons. The card picture, leader faces and animated badges come from the ROM with _CGB_TrainerCard's palettes. GameTimer now counts the play time from the end of the introduction, capped at 999:59:59, and saves keep it. Closes #23 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
38b9562bd3
commit
47698565ab
24 files changed
+954
-30
No files matched your search
@@ -735,6 +735,20 @@ export const MOM = {
|
||||
"BankOfMom_MenuHeader.MenuData": 0x166bd,
|
||||
} as const;
|
||||
|
||||
/** TrainerCard (engine/menus/trainer_card.asm): its strings, the badges'
|
||||
* OAM templates and the card graphics, keyed by their PRET labels. */
|
||||
export const TRAINER_CARD = {
|
||||
"TrainerCard_PrintTopHalfOfCard.Name_Money": 0x252ec,
|
||||
"TrainerCard_Page1_PrintDexCaught_GameTime.Dex_PlayTime": 0x2534c,
|
||||
"TrainerCard_Page1_PrintDexCaught_GameTime.Badges": 0x2535c,
|
||||
TrainerCard_JohtoBadgesOAM: 0x254c9,
|
||||
LeaderGFX: 0x25583,
|
||||
BadgeGFX: 0x26043,
|
||||
ChrisCardPic: 0x88365,
|
||||
KrisCardPic: 0x88595,
|
||||
PredefPals: 0x9df6,
|
||||
} as const;
|
||||
|
||||
export const MAP_GROUP_COUNT = 26;
|
||||
export const NUM_POKEMON = 251;
|
||||
export const NUM_TRAINER_CLASSES = 67;
|
||||
|
||||
Reference in new issue
Block a user