mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-08 00:55:53 -05:00
move some vars from sym ewram
This commit is contained in:
@@ -22,7 +22,7 @@ typedef struct MoveDataFile
|
||||
} MoveDataFile;
|
||||
|
||||
bool8 CanBeSnatched(u16 moveID);
|
||||
void CopyAndResetMoves(Move *destMoves, Move *srcMoves);
|
||||
void CopyAndResetMoves(Moves *destMoves, Move *srcMoves);
|
||||
void CopyBareMoveData(Move *destMoves, Move *srcMoves);
|
||||
bool8 DoesMoveCharge(u16 move);
|
||||
bool8 FailsWhileMuzzled(u16 moveID);
|
||||
|
||||
@@ -120,4 +120,11 @@ static inline bool8 IsMonPartner(PokemonStruct1 *mon)
|
||||
return (mon->dungeonLocation.id == DUNGEON_JOIN_LOCATION_PARTNER);
|
||||
}
|
||||
|
||||
// Needed to match a couple of functions which use species id.
|
||||
// The theory is that there was some internal species conversion which got scrapped later on.
|
||||
static inline s16 SpeciesId(s32 id)
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
#endif // GUARD_POKEMON_H
|
||||
|
||||
Reference in New Issue
Block a user