Skip to content

Commit

Permalink
Renamed GetMonDefensiveTeraType
Browse files Browse the repository at this point in the history
  • Loading branch information
pkmnsnfrn committed Aug 10, 2024
1 parent 997fa9e commit 7ba627e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/type_icons.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static bool32 UseDoubleBattleCoords(u32);

static u32 GetMonPublicType(u32, u32);
static bool32 ShouldHideUncaughtType(u32);
static u32 ReturnMonDefensiveTeraType(struct Pokemon *, struct Pokemon*, u32, u32, u32, u32);
static u32 GetMonDefensiveTeraType(struct Pokemon *, struct Pokemon*, u32, u32, u32, u32);
static bool32 IsIllusionActive(struct Pokemon*);
static u32 IsIllusionActiveAndTypeUnchanged(struct Pokemon*, u32, u32);

Expand Down Expand Up @@ -300,7 +300,7 @@ static u32 GetMonPublicType(u32 battlerId, u32 typeNum)
return TYPE_MYSTERY;

if (GetActiveGimmick(battlerId) == GIMMICK_TERA)
return ReturnMonDefensiveTeraType(mon,monIllusion,battlerId,typeNum,illusionSpecies,monSpecies);
return GetMonDefensiveTeraType(mon,monIllusion,battlerId,typeNum,illusionSpecies,monSpecies);

if (IsIllusionActiveAndTypeUnchanged(monIllusion,monSpecies, battlerId))
return gSpeciesInfo[illusionSpecies].types[typeNum];
Expand All @@ -319,7 +319,7 @@ static bool32 ShouldHideUncaughtType(u32 species)
return TRUE;
}

static u32 ReturnMonDefensiveTeraType(struct Pokemon * mon, struct Pokemon* monIllusion, u32 battlerId, u32 typeNum, u32 illusionSpecies, u32 monSpecies)
static u32 GetMonDefensiveTeraType(struct Pokemon * mon, struct Pokemon* monIllusion, u32 battlerId, u32 typeNum, u32 illusionSpecies, u32 monSpecies)
{
u32 teraType = GetBattlerTeraType(battlerId);
u32 targetSpecies;
Expand Down

0 comments on commit 7ba627e

Please sign in to comment.