diff --git a/include/dungeon_8041AD0.h b/include/dungeon_8041AD0.h index 5cf66999f..875566f05 100644 --- a/include/dungeon_8041AD0.h +++ b/include/dungeon_8041AD0.h @@ -94,10 +94,10 @@ void sub_8041EE8(Entity *pokemon); void sub_8041EF8(Entity *pokemon); void sub_8041F08(Entity *pokemon); void nullsub_90(Entity *pokemon); -void sub_8041F28(Entity *pokemon, struct StatIndex stat); -void sub_8041F4C(Entity *pokemon, struct StatIndex stat); -void sub_8041F70(Entity *pokemon, struct StatIndex stat); -void sub_8041F94(Entity *pokemon, struct StatIndex stat); +void PlayOffensiveStatDownEffect(Entity *pokemon, struct StatIndex stat); +void PlayDefensiveStatDownEffect(Entity *pokemon, struct StatIndex stat); +void PlayOffensiveStatUpEffect(Entity *pokemon, struct StatIndex stat); +void PlayDefensiveStatUpEffect(Entity *pokemon, struct StatIndex stat); void sub_8041FB4(Entity *pokemon, struct StatIndex stat); void sub_8041FD8(Entity *pokemon, struct StatIndex stat); void sub_8041FFC(Entity *pokemon, struct StatIndex stat); diff --git a/src/dungeon_8041AD0.c b/src/dungeon_8041AD0.c index 9c595490c..9ef0c404b 100644 --- a/src/dungeon_8041AD0.c +++ b/src/dungeon_8041AD0.c @@ -840,7 +840,7 @@ void nullsub_90(Entity *pokemon) { } -void sub_8041F28(Entity *pokemon, struct StatIndex stat) +void PlayOffensiveStatDownEffect(Entity *pokemon, struct StatIndex stat) { if (stat.id == STAT_INDEX_PHYSICAL) { @@ -852,7 +852,7 @@ void sub_8041F28(Entity *pokemon, struct StatIndex stat) } } -void sub_8041F4C(Entity *pokemon, struct StatIndex stat) +void PlayDefensiveStatDownEffect(Entity *pokemon, struct StatIndex stat) { if(stat.id == STAT_INDEX_PHYSICAL) { @@ -864,7 +864,7 @@ void sub_8041F4C(Entity *pokemon, struct StatIndex stat) } } -void sub_8041F70(Entity *pokemon, struct StatIndex stat) +void PlayOffensiveStatUpEffect(Entity *pokemon, struct StatIndex stat) { if(stat.id == STAT_INDEX_PHYSICAL) { @@ -876,7 +876,7 @@ void sub_8041F70(Entity *pokemon, struct StatIndex stat) } } -void sub_8041F94(Entity *pokemon, struct StatIndex stat) +void PlayDefensiveStatUpEffect(Entity *pokemon, struct StatIndex stat) { if(stat.id == STAT_INDEX_PHYSICAL) { diff --git a/src/move_orb_effects_1.c b/src/move_orb_effects_1.c index 8d7b7f98a..472299e79 100644 --- a/src/move_orb_effects_1.c +++ b/src/move_orb_effects_1.c @@ -885,7 +885,7 @@ void LowerOffensiveStat(Entity * user, Entity * target, struct StatIndex stat, s entityInfo = GetEntInfo(target); SubstitutePlaceholderStringTags(gFormatBuffer_Monsters[0],target,0); - sub_8041F28(target,stat); + PlayOffensiveStatDownEffect(target,stat); if (nStages == 1) { strcpy(gFormatBuffer_Items[1], gUnknown_80FC0E4); } @@ -932,7 +932,7 @@ void LowerDefensiveStat(Entity * user, Entity * target, struct StatIndex stat, s entityInfo = GetEntInfo(target); SubstitutePlaceholderStringTags(gFormatBuffer_Monsters[0],target,0); - sub_8041F4C(target,stat); + PlayDefensiveStatDownEffect(target,stat); if (nStages == 1) { strcpy(gFormatBuffer_Items[1],gUnknown_80FC0E4); } @@ -967,7 +967,7 @@ void BoostOffensiveStat(Entity * user, Entity * target, struct StatIndex stat, s entityInfo = GetEntInfo(target); SubstitutePlaceholderStringTags(gFormatBuffer_Monsters[0],target,0); - sub_8041F70(target,stat); + PlayOffensiveStatUpEffect(target,stat); if (stat.id != STAT_INDEX_PHYSICAL) { strcpy(gFormatBuffer_Items[0],gUnknown_80FC0C8); } @@ -1008,7 +1008,7 @@ void BoostDefensiveStat(Entity * user, Entity * target, struct StatIndex stat, s entityInfo = GetEntInfo(target); SubstitutePlaceholderStringTags(gFormatBuffer_Monsters[0],target,0); - sub_8041F94(target,stat); + PlayDefensiveStatUpEffect(target,stat); if (stat.id != STAT_INDEX_PHYSICAL) { strcpy(gFormatBuffer_Items[0],gUnknown_80FC0AC); }