News: 11 March 2016 - Forum Rules

Author Topic: Need help making a simple hack.  (Read 5404 times)

locke nes

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Need help making a simple hack.
« on: March 30, 2011, 02:19:15 pm »
Hi, I want to make a simple hack of Pokemon RBY, where experience gained from all battles is 0. Ideally, I would like to make this a Gameshark Code to make it more distributable.
The idea is to do this for a difficulty challenge.

Anyone know how I can do this?

Dr. Floppy

  • Restricted Access
  • Hero Member
  • *
  • Posts: 970
  • Make America GREAT Again!
    • View Profile
    • BaddestHacks.net
Re: Need help making a simple hack.
« Reply #1 on: May 12, 2011, 09:33:35 pm »
There are several ways of achieving this desired effect.


1) Find the place in ROM which stores the Experienced earned from each creature, and zero it out. The major drawback to this method is that it would take one Gameshark code per monster to accomplish.

2) Find the routine which adds Experience to the grand total after a successful battle, and rewrite it to add "zero". (This could likely be done with a handful of GS codes.)

3) Cut into a routine that occurs on a frequent basis, such as the frame counter. Add a special routine which zero's-out the Total Experience slot in RAM. (This is also unfeasible with GS codes.)


My recommendation is Option #2.

RyanfaeScotland

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • My Brill Game Site
Re: Need help making a simple hack.
« Reply #2 on: May 14, 2011, 03:52:25 am »
Haha Locke Nes, that's kinda funny, you from Scotland by any chance?

Anyway here a code that makes them level up faster:

Pokemon Growth v1.0 [North America]
8855D2F00807
BFF831C27DD9

This code will make all of the Pokemon you own level up more quickly.

Now I'm presuming this code increases the amount of experience that pokemon gain after a battle so really it may just be a case of altering this code slightly. I've never looked at the GBA or Gameshark so I'm not sure exactly how it's codes are formed but it may be that "8855D2F00807" can be split into address:value like "8855D2F0:0807" so you'd want to alter the 0807 to try and change it. There is a good article here http://codehut.gshi.org/HowtoHackSega.txt that explains it in terms of GameGenie to ROM.

Of course this is pretty much all guess work but it's along the lines of what you want and is how Dr Floppy's Option 2 would be implemented.

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 7313
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Need help making a simple hack.
« Reply #3 on: May 14, 2011, 11:01:03 am »
That code is for Pokemon Ruby. For the GBA. I believe the first eight characters are the CPU address, and the last 4 digits are the value to replace it with.
If you mean the original GB games, you'd need a different code.
"My watch says 30 chickens" Google, 2018

RyanfaeScotland

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • My Brill Game Site
Re: Need help making a simple hack.
« Reply #4 on: May 14, 2011, 11:36:42 am »
That code is for Pokemon Ruby. For the GBA. I believe the first eight characters are the CPU address, and the last 4 digits are the value to replace it with.
If you mean the original GB games, you'd need a different code.

I take it that is different from RBY then otherwise you wouldn't mention it. I don't play or follow any of the pokemon stuff so just assumed with all the different colours there are out there people had taken to shortening them to 3 letters.

So yeah, the above code won't work if RBY and ruby are different games. Premise remains the same though :)

Kiyoshi Aman

  • RHDN Patreon Supporter!
  • Hero Member
  • *****
  • Posts: 2262
  • Browncoat Captain
    • View Profile
    • Aerdan's Blog
Re: Need help making a simple hack.
« Reply #5 on: May 14, 2011, 12:54:14 pm »
...If you don't do pokémon, why the fuck are you responding to a thread about hacking pokémon?

Ryusui

  • Hero Member
  • *****
  • Posts: 4989
  • It's the greatest day.
    • View Profile
    • Tumblr
Re: Need help making a simple hack.
« Reply #6 on: May 14, 2011, 05:21:56 pm »
RBY: Red/Blue/Yellow (GB)
GSC: Gold/Silver/Crystal (GB/C)
RSE: Ruby/Sapphire/Emerald (GBA)
FR/LG: Fire Red/Leaf Green (GBA)
DPP: Diamond/Pearl/Platinum (DS)
HG/SS: Heart Gold/Soul Silver (DS)
BW: Black/White (DS)
In the event of a firestorm, the salad bar will remain open.

RyanfaeScotland

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • My Brill Game Site
Re: Need help making a simple hack.
« Reply #7 on: May 14, 2011, 05:57:05 pm »
...If you don't do pokémon, why the fuck are you responding to a thread about hacking pokémon?
Because he's talking about zero'ing out the amount of experience gained from a battle, hardly a concept unique to pokemon.

EDIT: Although if I'd noticed the original post was in March I wouldn't have bothered.  ::)
« Last Edit: May 14, 2011, 06:16:57 pm by RyanfaeScotland »