Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #In the script section Pokémon (PokeBattle_Pokemon prior to v19), find the section at the top that lists the characteristics of individual Pokémon.
- #In v20, the end of it looks like this:
- # Whether this Pokémon can be deposited in storage/Day Care
- attr_accessor :cannot_store
- # Whether this Pokémon can be released
- attr_accessor :cannot_release
- # Whether this Pokémon can be traded
- attr_accessor :cannot_trade
- #Below that (or really, anywhere in the section), add
- attr_accessor :memory # Memory
- #At the bottom of Pokémon/PokeBattle_Pokemon, find the section that begins with "def initialize".
- #You're going to add in this line:
- @memory = _INTL("Press [ALT] to write more.")
- #Just for the sake of making sure you don't cross any ends, I recommend you put it in one of the cleaner parts of the section, somewhere like
- @item = nil
- @memory = _INTL("Press [ALT] to write more.")
- #In UI_Summary (PScreen_Summary in earlier versions), find
- memo += sprintf("<c3=404040,B0B0B0>%s\n", characteristics[best_stat][best_iv % 5])
- end
- #Below that "end", add
- memo += @pokemon.memory if @pokemon.memory
- #Finally, go to the bottom of PScreen_Summary and the section beginning with def pbScene.
- #Right above this line:
- elsif Input.trigger?(Input::USE)
- #Put in this:
- elsif Input.trigger?(Input::ALT) && !@pokemon.egg? && @page==2
- @pokemon.memory=Kernel.pbMessageFreeText("#{@pokemon.name}'s memory?",_INTL(""),false,80)
- dorefresh = true
- #(It can technically go anywhere in this big branch of elseifs for commands, I just like putting it here because it's above all the ends and it's with similar functions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement