- 1,753
- Posts
- 9
- Years
- Seen yesterday
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
Download:
pastebin.com
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 add the 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
Download:

Bank of Mom [v20] - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.