• The Eevee Expo Game Jam #10 has concluded, congratulations to all participants! Now it's time for the judges to play through the games, and you can play along to vote who deserves the community choice spotlight.
    You can check out the submitted games here!
    Play through the games and provide some feedback to the devs while you're at it!
  • Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Resource icon

v20.1 Bank of Mom 2023-01-16

This resource pertains to version 20.1 of Pokémon Essentials.
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 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.
  1. Under goldwindow = nil, put mgoldwindow = nil
  2. In the long while text regex, add mg| before g|
  3. Under:
    Ruby:
    Expand Collapse Copy
    when "g"      # Display gold window
      goldwindow&.dispose
      goldwindow = pbDisplayGoldWindow(msgwindow)
    Put:
    Ruby:
    Expand Collapse Copy
    when "mg"    # Display mom gold window
      mgoldwindow&.dispose
      mgoldwindow = pbDisplayMomGoldWindow(msgwindow, goldwindow)
  4. Under goldwindow&.dispose, put mgoldwindow&.dispose
These edits may have to be made to a plugin if one overrides this method.
Credits
Vendily
Author
Vendily
Downloads
383
Views
2,442
First release
Last update

Ratings

5.00 star(s) 1 ratings

More resources from Vendily

Back
Top