Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2014-06-25 14:14:54

ttar1
Member
From: Internet
Registered: 2014-06-16
Post 36/45
Website

What a strange bug?

Friends as you all may know that I am making a gold rom hack called pokemon plasma. So far I mainly added new pokemon in my hack. Then I discover a very strange bug, when I throw a pokeball to catch a pokemon this happens:
"Hiro use a pokeball.

On which pokemon?

It wonnt have any affect.

[catcha, {POKEMON NAME} was caught] OR [It was so close]

Oak: Hiro it is not the time to use that."

Even if I caught pokemon, battle goes on. That means I can catch as many as red gyarados as I want until I end.
Looks like all effects are combined in pokeball. This even works in greatball, ultraball and kurt balls but not in master ball. I check pokeball in item editor but everything is fine.


My Web:
http://www.facebook.com/ttar1romhacker
My Hacks:
Pokemon Plasma(Hack of gold currently in progress)
Do not underestimate the power of a beginner hacker.

Offline

#2 2014-06-25 14:22:55

G0ld Z!
Member
From: New Bark Town
Registered: 2013-11-01
Post 79/82
Website

Re: What a strange bug?

I think if you overwrite data, probably overwrite the ASM function of the pokeballs.

Offline

#3 2014-06-25 14:36:54

Pokemon_Master
Member
From: emuNAND
Registered: 2013-05-18
Post 876/948
Website

Re: What a strange bug?

G0ld Z! wrote:

I think if you overwrite data, probably overwrite the ASM function of the pokeballs.

Yes. Maybe AGIXP damaged any thing.

ttar1 wrote:

That means
I can catch as many
as red gyarados as I
want until I end.

Hey,that's fun :p

Offline

#4 2014-06-25 15:59:24

ttar1
Member
From: Internet
Registered: 2014-06-16
Post 37/45
Website

Re: What a strange bug?

Forget cause please tell me how to fix it!


My Web:
http://www.facebook.com/ttar1romhacker
My Hacks:
Pokemon Plasma(Hack of gold currently in progress)
Do not underestimate the power of a beginner hacker.

Offline

#5 2014-06-25 21:46:51

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 2,877/3,512

Re: What a strange bug?

ttar1 wrote:

Forget cause please tell me how to fix it!

Until we figure out the cause, we won't know how to fix it. That's just the basic logic of how fixing things works. Have to figure out what the actual problem is so we know what to fix.


EDIT: Have you tried opening your hack and an unmodified rom side-by-side in an item editor and checking to make sure you didin't accidentally change some of the values for the pokeball somehow? Giving it an invalid ASM pointer or invalid use options sound like possibilities for the cause of your strange Pokeball behaviour, but I don't know for sure. But it is something to check.

Which reminds me, I really need to work on redoing that item editor the next time I have a day off. The existing version kinda sucks, especially selecting which item to edit. Shouldn't be difficult to recode a new one when I get the chance to actually get around to it. (And this time I will add proper support for Crystal, even though in all honesty if someone is hacking Crystal they should just make a fork of Pokecrystal and edit that).

Last edited by Mateo (2014-06-25 22:28:44)

Offline

#6 2014-06-25 23:36:47

comet
Member
Registered: 2012-04-09
Post 462/679

Re: What a strange bug?

Mateo wrote:

EDIT: Have you tried opening your hack and an unmodified rom side-by-side in an item editor and checking to make sure you didin't accidentally change some of the values for the pokeball somehow? Giving it an invalid ASM pointer or invalid use options sound like possibilities for the cause of your strange Pokeball behaviour, but I don't know for sure. But it is something to check.

Following this line of thought, the easiest and fastest way to find out what's wrong is to post the rom so it can be compared against a hex dump via text diff. It should be more or less obvious if there are changes to item code just by looking at where the differences are.

Last edited by comet (2014-06-25 23:39:24)

Offline

#7 2014-06-26 06:10:57

ttar1
Member
From: Internet
Registered: 2014-06-16
Post 38/45
Website

Re: What a strange bug?

@mateo: I have open in an unmodified rom in item editor but every thing is fine.
@comet: ok. I will add a link to my rom.


My Web:
http://www.facebook.com/ttar1romhacker
My Hacks:
Pokemon Plasma(Hack of gold currently in progress)
Do not underestimate the power of a beginner hacker.

Offline

#8 2014-06-26 08:17:41

ttar1
Member
From: Internet
Registered: 2014-06-16
Post 39/45
Website

Re: What a strange bug?

Sorry for double post but I also check asm instruction for pokeball but it is fine. Other question why master ball is not effected by this bug it also have same asm pointer?
Agixp is causing all this no agixp any more. Bye bye.

Last edited by ttar1 (2014-06-26 11:18:03)


My Web:
http://www.facebook.com/ttar1romhacker
My Hacks:
Pokemon Plasma(Hack of gold currently in progress)
Do not underestimate the power of a beginner hacker.

Offline

Board footer

Powered by FluxBB