HGSS Trainer Card Scene

Resource HGSS Trainer Card Scene

Mr. Gela

Discord: theo#7722
Member
Joined
Jul 19, 2015
Posts
188
Mr. Gela submitted a new resource:

HGSS Trainer Card Scene - A revamped Trainer Card screen based on the one from HGSS, with new features!

What's this?
A "port" of the Trainer Card from Pokémon HeartGold and SoulSilver, with a few small changes to accomodate it for a single screen. It appends some small features to the PokeBattle_Trainer class, too.

Features
  • Up to six different card designs based on Trainer Card level. See its Bulbapedia article for more information or ideas on how to implement them.
  • Animated background...

Read more about this resource...
 

Mr. Gela

Discord: theo#7722
Member
Joined
Jul 19, 2015
Posts
188
Someone inquired me for a way to check if the player has completed the Pokédex (bar some excluded legendaries) in order to award a star.
You can use the following snippet, and call "dexCompleted" anytime you wish to check for that. For example, when reviewing the Pokédex by Oak in the PC, or after each caught Pokémon. Replace switch 99 with whatever you want to use instead. EXCLUDED includes the internal ID numbers of those Pokémon to exclude (in this brief example that's Mew, Celebi and Arceus).
Paste pretty much anywhere above Main: Pastebin Should work but do playtest it and report any issues thanks.
 

Doodi94

Rookie
Member
Joined
Jul 1, 2020
Posts
3
Hi, I wonder how I can show how many shiny Pokemon have been encountered and captured instead of String 2 or 3. How can I do ?
 

Mr. Gela

Discord: theo#7722
Member
Joined
Jul 19, 2015
Posts
188
Hi, I wonder how I can show how many shiny Pokemon have been encountered and captured instead of String 2 or 3. How can I do ?
You'd have to find the code where a wild Pokémon is encountered, check if it's shiny like other bits of code do and, if it is, add +1 to the variable.
 

TheRedeemedGamer

Novice
Member
Joined
Aug 28, 2020
Posts
20
Age
32
Just downloaded this, and can't wait to try it out. Just an FYI though, the dropbox link provides graphics for a Pokemon summary screen, not trainer card.
 

Richard PT

Novice
Member
Joined
Oct 26, 2018
Posts
12
Good recource. I've tested it on PE 18.1 and i've observed this:

1- Trainer Card seems to work properly at first glance.
2- PE v18 or 18.1 don't use the Kernel thing in the scripts, i already removed 2 kernel things in the script, and the script works fine. I consider this a minor fix.
3- When i start a trainer battle, it gave me a name error on line 69 > this line > @money=INITIALMONEY. How can I fix it?
4- Credits will be given.
 
Joined
Jul 6, 2019
Posts
43
Good recource. I've tested it on PE 18.1 and i've observed this:

1- Trainer Card seems to work properly at first glance.
2- PE v18 or 18.1 don't use the Kernel thing in the scripts, i already removed 2 kernel things in the script, and the script works fine. I consider this a minor fix.
3- When i start a trainer battle, it gave me a name error on line 69 > this line > @money=INITIALMONEY. How can I fix it?
4- Credits will be given.
In v18 INITIALMONEY is now INITIAL_MONEY.
 
Top