mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
18 lines
356 B
PHP
18 lines
356 B
PHP
|
#include "constants/tms_hms.h"
|
||
|
|
||
|
/* Expands to:
|
||
|
* enum_start ITEM_TM01
|
||
|
* enum ITEM_TM_FOCUS_PUNCH
|
||
|
* ...
|
||
|
* enum_start ITEM_HM01
|
||
|
* enum ITEM_HM_CUT
|
||
|
* ... */
|
||
|
#define EQUIV_TM(id) enum ITEM_TM_ ## id;
|
||
|
#define EQUIV_HM(id) enum ITEM_HM_ ## id;
|
||
|
enum_start ITEM_TM01
|
||
|
FOREACH_TM(EQUIV_TM)
|
||
|
enum_start ITEM_HM01
|
||
|
FOREACH_HM(EQUIV_HM)
|
||
|
#undef EQUIV_TM
|
||
|
#undef EQUIV_HM
|