Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2013-03-12 04:12:31

Vitharix
Member
Registered: 2011-12-29
Post 233/396

Battle Earnings

I've yet to find any documentation on this subject, although I haven't looked very hard.
It seems to be tied to trainer class, but other than that I don't know what to look for.
Does anyone have any info about this?

Offline

#2 2013-03-12 04:18:47

stag019
Idea Killer
Registered: 2011-01-05
Post 374/630

Re: Battle Earnings

http://www.upokecenter.com/games/rby/gu … ainers.php

"The amount of money given by a trainer is equal to the base money times the level of the last Pokemon on that trainer's list."

I'm also pretty sure it's been mentioned here a coupla times.


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#3 2013-03-12 04:26:20

Vitharix
Member
Registered: 2011-12-29
Post 234/396

Re: Battle Earnings

Thanks for that.

Offline

#4 2013-03-12 06:09:03

Miksy91
Member
Registered: 2010-10-16
Post 1,563/2,308

Re: Battle Earnings

Also, if you're looking for the values for G/S, I kinda did the task in your place :)
*See Mateo's G/S offsets thread

Offline

#5 2013-03-12 06:37:51

Vitharix
Member
Registered: 2011-12-29
Post 235/396

Re: Battle Earnings

Miksy91 wrote:

Also, if you're looking for the values for G/S, I kinda did the task in your place :)
*See Mateo's G/S offsets thread

Thanks Miksy. I was looking for those originally.

x39562 - Table that determines how much money is given by each trainer
For calculating the given money of any battle, a value from that table is picked and is multiplied by (8 * [highest leveled pokemon of enemy]). For example, the third byte in the list (19) is used for given money for trainer group "Leader (Falkner)".
Following it are six bytes you don't have to worry about and another "19" used for given money for trainer group "Leader (Whitney)" and so on...
Basically, you can find the "given money" byte for each trainer with the following calculation:
0x39564 + ([Trainer Group] - 1) * 7
(Credit to Miksy91)


For reference!

Last edited by Vitharix (2013-03-12 06:47:12)

Offline

#6 2013-03-12 06:47:55

Miksy91
Member
Registered: 2010-10-16
Post 1,564/2,308

Re: Battle Earnings

Also like somebody pointed out earlier, that byte is actually multiplied by 4 (or maybe more accurately, divided by 2 and multiplied by 8 later on).
But yeah, 4 is the value you want to calculate with.

Offline

#7 2013-03-12 06:53:40

Vitharix
Member
Registered: 2011-12-29
Post 236/396

Re: Battle Earnings

Okay, that makes sense. Essentially what I want to do is raise the value of a "dollar", so that you aren't earning hundreds or thousands after a battle. I've always assumed the reason for this was because it was based off of Yen. It's just a preference thing, I guess. But of course things won't cost much in the game.

Offline

#8 2013-03-12 06:55:33

stag019
Idea Killer
Registered: 2011-01-05
Post 375/630

Re: Battle Earnings

It actually is Yen in the Japanese versions. Pokedollars is an international invention.
See also: http://bulbapedia.bulbagarden.net/wiki/ … mon_Dollar


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

Board footer

Powered by FluxBB