diff options
author | garak <garakmon@gmail.com> | 2018-10-19 15:57:19 -0400 |
---|---|---|
committer | garak <garakmon@gmail.com> | 2018-10-19 15:57:19 -0400 |
commit | 901f3ff55715ec6bdeda5c711e7e73b4c38ab55a (patch) | |
tree | 7f62ea7121f428a0b7ae4d24e1840745644daab6 /include | |
parent | 72f9afcbf4a81909019f21acad0484b72ed217f6 (diff) |
use sound panning constants in battle_anim_scripts
Diffstat (limited to 'include')
-rw-r--r-- | include/battle_anim.h | 3 | ||||
-rw-r--r-- | include/constants/battle_anim.h | 14 |
2 files changed, 14 insertions, 3 deletions
diff --git a/include/battle_anim.h b/include/battle_anim.h index f690cf10c..3d27e0d25 100644 --- a/include/battle_anim.h +++ b/include/battle_anim.h @@ -31,9 +31,6 @@ struct BattleAnimBackground #define ANIM_ARGS_COUNT 8 -#define PAN_SIDE_PLAYER -64 -#define PAN_SIDE_OPPONENT 63 - extern void (*gAnimScriptCallback)(void); extern bool8 gAnimScriptActive; extern u8 gAnimVisualTaskCount; diff --git a/include/constants/battle_anim.h b/include/constants/battle_anim.h index 270ac55e0..93ae70f94 100644 --- a/include/constants/battle_anim.h +++ b/include/constants/battle_anim.h @@ -7,6 +7,20 @@ #define ANIM_ATK_PARTNER 2 #define ANIM_DEF_PARTNER 3 +// stereo panning constants [0-255] +// +// 0 +// . . +// . . +// 192 . . 63 +// . . +// . . +// . . +// 127 +// +#define SOUND_PAN_ATTACKER -64 +#define SOUND_PAN_TARGET 63 + // move background ids #define BG_DARK_ 0 // the same as BG_DARK but is unused #define BG_DARK 1 |