pmd-sky/src/moves_2.c
AnonymousRandomPerson b943da1fd1 Decomped GetMoveType
2025-09-15 22:00:30 -04:00

15 lines
349 B
C

#include "moves_2.h"
#include "move_data.h"
extern struct move_data_table_outer DUNGEON_MOVE_TABLES;
s16 GetMoveTargetAndRange(struct move *move, bool8 is_ai)
{
return DUNGEON_MOVE_TABLES.moves->moves[move->id].target_range[is_ai];
}
enum type_id GetMoveType(struct move* move)
{
return DUNGEON_MOVE_TABLES.moves->moves[move->id].type;
}