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
@@ -86,7 +86,10 @@ is a `pokegear` effect answered with a button, and a phone call runs the
|
||||
callee's ROM script in the event interpreter on the same draft. The world
|
||||
keeps the card on screen (`world.pokegear`) during the call's texts.
|
||||
`scripts/mom.ts` runs `BankOfMom` as a special; its amount box is a
|
||||
`mombank` effect answered with buttons in the same way.
|
||||
`mombank` effect answered with buttons in the same way, and so are the
|
||||
pages of `scripts/trainer-card.ts`. The world refreshes the card's play
|
||||
time, colon and badge step every tick; `world/game-time.ts` is the play
|
||||
time (`wGameTime`), which the world advances two frames per tick.
|
||||
|
||||
`TilesetAnimator` translates the ROM animation command tables, advancing two
|
||||
video frames per overworld tick. It owns mutable graphics separately from the
|
||||
|
||||
Reference in new issue
Block a user