- 22
- Posts
- 15
- Years
- Seen yesterday
Generation 3 changed how fishing worked. Originally, when you went to fish, it would play the animation, determine if you caught something, alert the player, and then enter the battle. In gen 3, except FireRed and LeafGreen, this changed to having to manually watch dots, and click A within a set time or you lost the fish. This can be easily ported from FireRed.
The fishing set of functions is in src/field_player_avatar.c. Search for
and change it to:
This removes what the A button does while the dots are displayed. Originally if you hit A to soon, you would lose the fish, this removes that.
Next scroll down to
and change it to:
This normally would've displayed the "Oh! A bite!" string and begin the dots again, but now it increments to the max amount of times the dots have been displayed, allowing the player to continue straight to the battle.
The fishing set of functions is in src/field_player_avatar.c. Search for
Code:
static bool8 Fishing_ShowDots(struct Task *task)
Code:
static bool8 Fishing_ShowDots(struct Task *task)
{
const u8 dot[] = _("·");
AlignFishingAnimationFrames();
task->tFrameCounter++;
if (task->tFrameCounter >= 20)
{
task->tFrameCounter = 0;
if (task->tNumDots >= task->tDotsRequired)
{
task->tStep++;
if (task->tRoundsPlayed != 0)
task->tStep++;
task->tRoundsPlayed++;
}
else
{
AddTextPrinterParameterized(0, 1, dot, task->tNumDots * 8, 1, 0, NULL);
task->tNumDots++;
}
}
return FALSE;
}
This removes what the A button does while the dots are displayed. Originally if you hit A to soon, you would lose the fish, this removes that.
Next scroll down to
Code:
static bool8 Fishing_GotBite(struct Task *task)
Code:
static bool8 Fishing_GotBite(struct Task *task)
{
task->tStep += 3;
return FALSE;
}
This normally would've displayed the "Oh! A bite!" string and begin the dots again, but now it increments to the max amount of times the dots have been displayed, allowing the player to continue straight to the battle.
![[PokeCommunity.com] Remove having to reel in while Fishing [PokeCommunity.com] Remove having to reel in while Fishing](https://i.imgur.com/7iz3KwK.gif)