mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-10 14:01:52 -05:00
14 lines
362 B
C
14 lines
362 B
C
#ifndef GUARD_BATTLE_ANIM_INTERNAL_H
|
|
#define GUARD_BATTLE_ANIM_INTERNAL_H
|
|
|
|
/* CMD_ARGS provides a way to locally name the members of gBattleAnimArgs.
|
|
*
|
|
* For example:
|
|
* {
|
|
* CMD_ARGS(x, y);
|
|
* // cmd->x is gBattleAnimArgs[0] and cmd->y is gBattleAnimArgs[1]
|
|
* } */
|
|
#define CMD_ARGS(...) struct { s16 __VA_ARGS__; } *cmd = (void *)gBattleAnimArgs
|
|
|
|
#endif
|