- Pokémon Essentials Version
- v20.1 ➖
This script adds in the Bank of Mom Feature from GSC or HGSS, where the player's mother will save money and occasionally buy items.
The mom attempts to buy an item after the end of every battle, if she can afford one of the
If she buys an item, she will call the player after the battle ends.
Several additional, required edits in
the
The mom attempts to buy an item after the end of every battle, if she can afford one of the
MOM_FIXED_ITEMS
or MOM_RANDOM_ITEMS
.If she buys an item, she will call the player after the battle ends.
Several additional, required edits in
def pbMessageDisplay
to addthe
mgoldwindow
variable, to show how much money the Bank of Mom holds.- Under
goldwindow = nil
, putmgoldwindow = nil
- In the long
while text
regex, addmg|
beforeg|
- Under:
Ruby:when "g" # Display gold window goldwindow&.dispose goldwindow = pbDisplayGoldWindow(msgwindow)
Ruby:when "mg" # Display mom gold window mgoldwindow&.dispose mgoldwindow = pbDisplayMomGoldWindow(msgwindow, goldwindow)
- Under
goldwindow&.dispose
, putmgoldwindow&.dispose
- Credits
- Vendily