Skip to content

Commit

Permalink
Renamed funcs, lists, etc. - Teach->Teachable
Browse files Browse the repository at this point in the history
  • Loading branch information
gruxor committed Aug 26, 2022
1 parent b8a3cc2 commit f8fb4e8
Show file tree
Hide file tree
Showing 8 changed files with 2,243 additions and 2,243 deletions.
4 changes: 2 additions & 2 deletions include/pokemon.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ extern const struct BaseStats gBaseStats[];
extern const u8 *const gItemEffectTable[];
extern const u32 gExperienceTables[][MAX_LEVEL + 1];
extern const struct LevelUpMove *const gLevelUpLearnsets[];
extern const u16 *const gTeachLearnsets[];
extern const u16 *const gTeachableLearnsets[];
extern const u8 gPPUpGetMask[];
extern const u8 gPPUpClearMask[];
extern const u8 gPPUpAddValues[];
Expand Down Expand Up @@ -510,7 +510,7 @@ u8 CheckPartyHasHadPokerus(struct Pokemon *party, u8 selection);
void UpdatePartyPokerusTime(u16 days);
void PartySpreadPokerus(struct Pokemon *party);
bool8 TryIncrementMonLevel(struct Pokemon *mon);
u8 CanLearnTaughtMove(u16 species, u16 move);
u8 CanLearnTeachableMove(u16 species, u16 move);
u8 GetMoveRelearnerMoves(struct Pokemon *mon, u16 *moves);
u8 GetLevelUpMovesBySpecies(u16 species, u16 *moves);
u8 GetNumberOfRelearnableMoves(struct Pokemon *mon);
Expand Down
2 changes: 1 addition & 1 deletion src/apprentice.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static u16 GetRandomAlternateMove(u8 monId)
do
{
id = Random() % (NUM_TECHNICAL_MACHINES + NUM_HIDDEN_MACHINES);
shouldUseMove = CanLearnTaughtMove(species, ItemIdToBattleMoveId(ITEM_TM01 + id));
shouldUseMove = CanLearnTeachableMove(species, ItemIdToBattleMoveId(ITEM_TM01 + id));
}
while (!shouldUseMove);

Expand Down
1,279 changes: 0 additions & 1,279 deletions src/data/pokemon/teach_learnset_pointers.h

This file was deleted.

1,279 changes: 1,279 additions & 0 deletions src/data/pokemon/teachable_learnset_pointers.h

Large diffs are not rendered by default.

Loading

0 comments on commit f8fb4e8

Please sign in to comment.