Current Party GP Checking and High Prices
#2
You need to run a check immediately following the take GP code, this bit needs to be checked:
1BE B7:6 Not enough money

So right after the 85 XX YY, you would input the check like:
C0 BE 81 XX YY ZZ
If byte 1BE is set (not enough gold), go to address XX YY ZZ (wherever or whatever you want to happen if not enough, like a "not enough GP..." text box).

Your code after this check would be if the party does indeed have enough, so the event progresses.
We are born, live, die and then do the same thing over again.
Reply


Messages In This Thread
RE: Current Party GP Checking and High Prices - by Gi Nattak - 01-21-2015, 06:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Roster, Party Select, Graphics OAM Catone 2 2,675 09-04-2022, 05:41 AM
Last Post: Catone
  Magic for temporary party members fedorajoe 4 3,167 11-29-2021, 08:40 PM
Last Post: fedorajoe
  Multi-Party mode boxedj 4 3,340 04-20-2020, 02:44 PM
Last Post: C-Dude
  Checking inventory for an item Morendo 2 2,130 12-31-2019, 09:13 AM
Last Post: madsiur
  RAM $11E4 and adding Gau to a party? C-Dude 4 3,498 12-20-2019, 11:39 PM
Last Post: C-Dude
  current music pointers CzarMalboro 8 6,685 08-15-2019, 06:27 PM
Last Post: CzarMalboro
  Changing initial party at start(2 soldiers and Terra) CrumpledMedal 7 5,734 05-22-2019, 02:50 PM
Last Post: PowerPanda
  ASM coding - Checking battle command in use Catone 4 4,915 11-30-2015, 03:52 PM
Last Post: Catone
  Break HP Limit for Party Members gaje 6 8,531 08-19-2015, 07:57 PM
Last Post: carlpandated
  Is it possible to make a certain party required for an event? Jeff 4 4,642 03-16-2015, 07:57 PM
Last Post: Jeff

Forum Jump:


Users browsing this thread: 1 Guest(s)