Skip to content

Commit

Permalink
Updated HANDLE_EXPANDED_MOVE_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmnephrite committed Feb 4, 2024
1 parent 8ca84d1 commit 1167fd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/data/moves_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@

// The Gen. 4+ contest data comes from urpg's contest movedex.

#define FIRST(a, ...) a
#if B_EXPANDED_MOVE_NAMES == TRUE
#define HANDLE_EXPANDED_MOVE_NAME(_name, ...) COMPOUND_STRING(FIRST(__VA_OPT__(__VA_ARGS__, ) _name))
#define HANDLE_EXPANDED_MOVE_NAME(_name, ...) COMPOUND_STRING(DEFAULT(_name, __VA_ARGS__))
#else
#define HANDLE_EXPANDED_MOVE_NAME(_name, ...) COMPOUND_STRING(_name)
#endif
Expand Down

0 comments on commit 1167fd5

Please sign in to comment.