i found the Value that Defines the Money in Pokemon Gold, the problem is that there are 2 values for the money value and they act weird, i want to implement this in a script but i dont know how, can someone help?
::Problem::
value 1;
1 = 256 in bytes
value 2;
1 = 1 in bytes
if i edit the first value to one i get 256 money, clearly. the second value only edits one at the time.
if i want to make a Money trainer then i need a calculation that calculates the selected Value(in Script) to the correct value ingame.
so i need an algorithm that writes those to values to be exact as the one i input in the script.
if someone could help, that would be great!
this is what i found out by now.
Fuzzy Address
Money Address(256) = 0x98406270 0x9999AEB0
Money Address(1) = 0x98406271 0x9999AEB1
Static Address
Money Address(256) = 0x9??????0
Money Address(256) = 0x9??????1
Hex Address
Money Value(256) = 7B0CA900h
Money Value(1) = A9h
added together = 169Byte = Current money
if i add those Hex Addresses does it act like a Group Search?
- Find pointer, Dunno how. major confusion
the Hex Address of Money Value(256) contains the Hex Address of Money Value(1)
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
YeetMeister
so, i made this post in Help [
My OldBoy Emulator (#a5uakpxd)
]
i found the Value that Defines the Money in Pokemon Gold, the problem is that there are 2 values for the money value and they act weird, i want to implement this in a script but i dont know how, can someone help?
::Problem::
value 1;
1 = 256 in bytes
value 2;
1 = 1 in bytes
if i edit the first value to one i get 256 money, clearly. the second value only edits one at the time.
if i want to make a Money trainer then i need a calculation that calculates the selected Value(in Script) to the correct value ingame.
so i need an algorithm that writes those to values to be exact as the one i input in the script.
if someone could help, that would be great!
this is what i found out by now.
Fuzzy Address
Money Address(256) = 0x98406270 0x9999AEB0
Money Address(1) = 0x98406271 0x9999AEB1
Static Address
Money Address(256) = 0x9??????0
Money Address(256) = 0x9??????1
Hex Address
Money Value(256) = 7B0CA900h
Money Value(1) = A9h
added together = 169Byte = Current money
if i add those Hex Addresses does it act like a Group Search?
- Find pointer, Dunno how. major confusion
the Hex Address of Money Value(256) contains the Hex Address of Money Value(1)
Hex Address of Money Value(256)
(7B0C)(A900)h
@Enyby @CmP @TopGEOYT
0 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.