Skip to content

Commit

Permalink
fix starter indexing and removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
ElwinBran committed Jun 16, 2024
1 parent 9dbced2 commit 0084944
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/field_specials.c
Original file line number Diff line number Diff line change
Expand Up @@ -1632,9 +1632,9 @@ void ForcePlayerToStartSurfing(void)
}

static const u16 sStarterSpecies[] = {
SPECIES_ELEKID,
SPECIES_MAGBY,
SPECIES_SMOOCHUM
SPECIES_SMOOCHUM,
SPECIES_ELEKID
};

static u16 GetStarterSpeciesById(u16 idx)
Expand Down
10 changes: 0 additions & 10 deletions src/roamer.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,6 @@ u16 GetRoamerSpecies(void)
u16 species = SPECIES_NONE;
u16 starter = GetStarterSpecies();

if(FlagGet(FLAG_CAUGHT_RAIKOU))
PlaySE(SE_EXP);
if(FlagGet(FLAG_CAUGHT_ENTEI))
PlaySE(SE_EXP);
if(FlagGet(FLAG_CAUGHT_SUICUNE))
PlaySE(SE_EXP);

switch(starter)
{
case SPECIES_ELEKID:
Expand All @@ -113,8 +106,6 @@ u16 GetRoamerSpecies(void)
}
break;
case SPECIES_MAGBY:
species = SPECIES_ENTEI;
/*
if(!FlagGet(FLAG_CAUGHT_ENTEI))
{
species = SPECIES_ENTEI;
Expand All @@ -127,7 +118,6 @@ u16 GetRoamerSpecies(void)
{
species = SPECIES_RAIKOU;
}
*/
break;
case SPECIES_SMOOCHUM:
if(!FlagGet(FLAG_CAUGHT_SUICUNE))
Expand Down

0 comments on commit 0084944

Please sign in to comment.