• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The results of the game jam are out!
    See the Judge's Spotlight choices and vote for your favorites to win Community Choice Spotlight by the 28th! 🫙
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Pokémon Memories

Resource Pokémon Memories 2022-05-20

TechSkylander1518 submitted a new resource:

Pokémon Memories - Let the player write a little bit about their Pokémon in the trainer memo!

This code lets the player write a little blurb about their Pokémon in the Trainer Memo section of the summary screen!

In PokeBattle_Pokemon, find
Ruby:
Expand Collapse Copy
  attr_writer   :obtainLevel # Level obtained
  attr_accessor :hatchedMap  # Map where an egg was hatched
  attr_writer   :language    # Language
  attr_accessor :ot          # Original Trainer's name
  attr_writer   :otgender    # Original Trainer's gender...

Read more about this resource...
 
This is a beautiful script, thanks. A question, is there a way to limit the quantity of characters?
 
This is a beautiful script, thanks. A question, is there a way to limit the quantity of characters?
Thank you, that's real nice of you to say!

There sure is! It's actually already coded into the script! In the part that you add in PScreen_Summary, there's this line:
Ruby:
Expand Collapse Copy
Kernel.pbMessageFreeText("#{@pokemon.name}'s memory?",_INTL(""),false,80)

That "80" there is the character limit! Just change that to whatever you want!
 
Thank you, that's real nice of you to say!

There sure is! It's actually already coded into the script! In the part that you add in PScreen_Summary, there's this line:
Ruby:
Expand Collapse Copy
Kernel.pbMessageFreeText("#{@pokemon.name}'s memory?",_INTL(""),false,80)

That "80" there is the character limit! Just change that to whatever you want!
Ohhhh!

Thank you so much! Works perfectly! :D
 
Back
Top