+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  just a curious question
Pages: [1]
Author Topic: just a curious question  (Read 535 times)
realworksuks
Guest
« on: March 03, 2007, 05:49:25 pm »

I don't know a thing about romhacking, i've never tried it.  I was just wondering if it would be possible to take an rpg and drastically cut the random battle rate down.  Like make it so you only run into a random battle every minute or two.  Would that be possible?  If so how hard?
hippiejake
Guest
« Reply #1 on: March 03, 2007, 06:01:09 pm »

Probably not hard at all. Most games do something along the lines of this:
1) Get a random number by some algorithm.
2) If that number is less than[or maybe greater than] some specified number, trigger a battle.
If you can find the location of that number, which basically acts as the probability of a battle, you can change it so that fewer values will trigger a battle. It would take a little tracing, but nothing too hard.
« Last Edit: March 03, 2007, 07:18:46 pm by hippiejake »
Numonohi_Boi
Guest
« Reply #2 on: March 03, 2007, 06:03:39 pm »

obviously you'll need to know some basic hacking stuff, but yeah if you can find it, its should be straightforward after that. Of course it always depends on the game.
Gideon Zhi
Guest
« Reply #3 on: March 03, 2007, 07:01:15 pm »

Other games use a step counter. They generate a random number when the overworld/dungeon loads, and count down every time you take a step. When it hits zero (or negative) you get into a fight.
realworksuks
Guest
« Reply #4 on: March 03, 2007, 09:49:18 pm »

hm, that'd be great to have the random battles in games chopped by about 1000 %.  I wanted to play beyond the beyond, but there's simply too many boring random battles, the same goes for many games that I want to play.
Nightcrawler
Guest
« Reply #5 on: March 04, 2007, 04:03:31 pm »

It's an easy hack to do, however the hard part is FINDING that value. That's probably going to be hard without having the skills to use a debugger or trace file to figure out where it is. I don't think you'd fare very well being able to find it without some help from looking through the game code.
realworksuks
Guest
« Reply #6 on: March 06, 2007, 03:06:22 pm »

yes it seems beyond me, hm someday if I get some more ambition maybe i'll try to do some research.  Do you think that'd even help?
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC