summaryrefslogtreecommitdiff
path: root/macros/scripts
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2019-09-08 12:09:43 -0500
committerdannye <33dannye@gmail.com>2019-09-08 12:09:43 -0500
commit331ed51264615a7edc794e7d29b361f3e5770652 (patch)
tree5890b4f9c367041e1546fd297f793d560a249b67 /macros/scripts
parent5645e1e213fe882dbcdf234786edb1ad1414d495 (diff)
stereo_panning: force any non-zero arg to 1
Diffstat (limited to 'macros/scripts')
-rw-r--r--macros/scripts/audio.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/scripts/audio.asm b/macros/scripts/audio.asm
index 4d1e86f4e..6e99cc3b0 100644
--- a/macros/scripts/audio.asm
+++ b/macros/scripts/audio.asm
@@ -156,7 +156,7 @@ ENDM
enum force_stereo_panning_cmd ; $e4
force_stereo_panning: MACRO
db force_stereo_panning_cmd
- dn %1111 * \1, %1111 * \2 ; left enable, right enable
+ dn %1111 * (1 && \1), %1111 * (1 && \2) ; left enable, right enable
ENDM
enum volume_cmd ; $e5
@@ -229,7 +229,7 @@ ENDM
enum stereo_panning_cmd ; $ef
stereo_panning: MACRO
db stereo_panning_cmd
- dn %1111 * \1, %1111 * \2 ; left enable, right enable
+ dn %1111 * (1 && \1), %1111 * (1 && \2) ; left enable, right enable
ENDM
enum sfx_toggle_noise_cmd ; $f0