summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/sfx/arrow_tiles_1.asm4
-rw-r--r--audio/sfx/arrow_tiles_3.asm4
-rw-r--r--audio/sfx/ball_poof.asm4
-rw-r--r--audio/sfx/ball_toss.asm2
-rw-r--r--audio/sfx/battle_09.asm4
-rw-r--r--audio/sfx/battle_1e.asm6
-rw-r--r--audio/sfx/battle_24.asm4
-rw-r--r--audio/sfx/battle_32.asm4
-rw-r--r--audio/sfx/collision_1.asm4
-rw-r--r--audio/sfx/collision_3.asm4
-rw-r--r--audio/sfx/denied_1.asm4
-rw-r--r--audio/sfx/denied_3.asm4
-rw-r--r--audio/sfx/dex_page_added.asm6
-rw-r--r--audio/sfx/faint_fall.asm4
-rw-r--r--audio/sfx/faint_thud.asm2
-rw-r--r--audio/sfx/heal_ailment_1.asm6
-rw-r--r--audio/sfx/heal_ailment_2.asm6
-rw-r--r--audio/sfx/heal_ailment_3.asm6
-rw-r--r--audio/sfx/heal_hp_1.asm4
-rw-r--r--audio/sfx/heal_hp_2.asm4
-rw-r--r--audio/sfx/heal_hp_3.asm4
-rw-r--r--audio/sfx/healing_machine_1.asm6
-rw-r--r--audio/sfx/healing_machine_3.asm6
-rw-r--r--audio/sfx/intro_hip.asm4
-rw-r--r--audio/sfx/intro_hop.asm4
-rw-r--r--audio/sfx/ledge_1.asm4
-rw-r--r--audio/sfx/ledge_3.asm4
-rw-r--r--audio/sfx/poisoned_1.asm4
-rw-r--r--audio/sfx/poisoned_3.asm4
-rw-r--r--[-rwxr-xr-x]audio/sfx/pokeflute_ch4_ch5.asm0
-rw-r--r--[-rwxr-xr-x]audio/sfx/pokeflute_ch6.asm0
-rw-r--r--audio/sfx/psychic_m.asm4
-rw-r--r--audio/sfx/shooting_star.asm4
-rw-r--r--audio/sfx/shrink_1.asm4
-rw-r--r--audio/sfx/shrink_3.asm4
-rw-r--r--audio/sfx/teleport_enter1_1.asm4
-rw-r--r--audio/sfx/teleport_enter1_3.asm4
-rw-r--r--audio/sfx/teleport_exit1_1.asm4
-rw-r--r--audio/sfx/teleport_exit1_3.asm4
-rw-r--r--audio/sfx/teleport_exit2_1.asm4
-rw-r--r--audio/sfx/teleport_exit2_3.asm4
-rw-r--r--audio/sfx/tink_1.asm6
-rw-r--r--audio/sfx/tink_2.asm6
-rw-r--r--audio/sfx/tink_3.asm6
-rw-r--r--audio/sfx/trade_machine_1.asm4
-rw-r--r--audio/sfx/trade_machine_3.asm4
-rw-r--r--[-rwxr-xr-x]audio/sfx/unused2_2.asm0
-rw-r--r--[-rwxr-xr-x]audio/sfx/unused_1.asm0
-rw-r--r--[-rwxr-xr-x]audio/sfx/unused_2.asm0
-rw-r--r--[-rwxr-xr-x]audio/sfx/unused_3.asm0
-rw-r--r--audio/sfx/withdraw_deposit_1.asm10
-rw-r--r--audio/sfx/withdraw_deposit_3.asm10
-rwxr-xr-xmacros/audio_macros.asm13
53 files changed, 115 insertions, 110 deletions
diff --git a/audio/sfx/arrow_tiles_1.asm b/audio/sfx/arrow_tiles_1.asm
index 90f62f8b..f29ddbc1 100644
--- a/audio/sfx/arrow_tiles_1.asm
+++ b/audio/sfx/arrow_tiles_1.asm
@@ -1,6 +1,6 @@
SFX_Arrow_Tiles_1_Ch4:
duty 0
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 210, 0, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/arrow_tiles_3.asm b/audio/sfx/arrow_tiles_3.asm
index ac1c79ff..864e55f2 100644
--- a/audio/sfx/arrow_tiles_3.asm
+++ b/audio/sfx/arrow_tiles_3.asm
@@ -1,6 +1,6 @@
SFX_Arrow_Tiles_3_Ch4:
duty 0
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 210, 0, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/ball_poof.asm b/audio/sfx/ball_poof.asm
index 3596baba..3f0dcab0 100644
--- a/audio/sfx/ball_poof.asm
+++ b/audio/sfx/ball_poof.asm
@@ -1,8 +1,8 @@
SFX_Ball_Poof_Ch4:
duty 2
- pitchenvelope 22
+ pitchenvelope 1, 6
squarenote 15, 242, 0, 4
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/ball_toss.asm b/audio/sfx/ball_toss.asm
index b41aaec7..271ceb96 100644
--- a/audio/sfx/ball_toss.asm
+++ b/audio/sfx/ball_toss.asm
@@ -1,6 +1,6 @@
SFX_Ball_Toss_Ch4:
duty 2
- pitchenvelope 47
+ pitchenvelope 2, -7
squarenote 15, 242, 128, 7
endchannel
diff --git a/audio/sfx/battle_09.asm b/audio/sfx/battle_09.asm
index 3ab973e1..8119261e 100644
--- a/audio/sfx/battle_09.asm
+++ b/audio/sfx/battle_09.asm
@@ -1,6 +1,6 @@
SFX_Battle_09_Ch4:
duty 1
- pitchenvelope 151
+ pitchenvelope 9, 7
squarenote 15, 242, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/battle_1e.asm b/audio/sfx/battle_1e.asm
index eaea0543..7bccb47c 100644
--- a/audio/sfx/battle_1e.asm
+++ b/audio/sfx/battle_1e.asm
@@ -1,10 +1,10 @@
SFX_Battle_1E_Ch4:
duty 0
- pitchenvelope 58
+ pitchenvelope 3, -2
squarenote 4, 242, 0, 2
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 8, 226, 0, 2
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/battle_24.asm b/audio/sfx/battle_24.asm
index 95765daf..beefeeb9 100644
--- a/audio/sfx/battle_24.asm
+++ b/audio/sfx/battle_24.asm
@@ -1,8 +1,8 @@
SFX_Battle_24_Ch4:
duty 1
- pitchenvelope 151
+ pitchenvelope 9, 7
squarenote 15, 242, 0, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/battle_32.asm b/audio/sfx/battle_32.asm
index 28084fe5..5e5b8641 100644
--- a/audio/sfx/battle_32.asm
+++ b/audio/sfx/battle_32.asm
@@ -1,8 +1,8 @@
SFX_Battle_32_Ch4:
duty 2
- pitchenvelope 175
+ pitchenvelope 10, -7
squarenote 8, 241, 0, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/collision_1.asm b/audio/sfx/collision_1.asm
index 41e99a35..d0556537 100644
--- a/audio/sfx/collision_1.asm
+++ b/audio/sfx/collision_1.asm
@@ -1,6 +1,6 @@
SFX_Collision_1_Ch4:
duty 2
- pitchenvelope 90
+ pitchenvelope 5, -2
squarenote 15, 241, 0, 3
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/collision_3.asm b/audio/sfx/collision_3.asm
index aa741e0e..623213e4 100644
--- a/audio/sfx/collision_3.asm
+++ b/audio/sfx/collision_3.asm
@@ -1,6 +1,6 @@
SFX_Collision_3_Ch4:
duty 2
- pitchenvelope 90
+ pitchenvelope 5, -2
squarenote 15, 241, 0, 3
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/denied_1.asm b/audio/sfx/denied_1.asm
index 6c9c2336..028785e9 100644
--- a/audio/sfx/denied_1.asm
+++ b/audio/sfx/denied_1.asm
@@ -1,8 +1,8 @@
SFX_Denied_1_Ch4:
duty 3
- pitchenvelope 90
+ pitchenvelope 5, -2
squarenote 4, 240, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
squarenote 4, 0, 0, 0
squarenote 15, 240, 0, 5
squarenote 1, 0, 0, 0
diff --git a/audio/sfx/denied_3.asm b/audio/sfx/denied_3.asm
index 0e7768cc..c22854f4 100644
--- a/audio/sfx/denied_3.asm
+++ b/audio/sfx/denied_3.asm
@@ -1,8 +1,8 @@
SFX_Denied_3_Ch4:
duty 3
- pitchenvelope 90
+ pitchenvelope 5, -2
squarenote 4, 240, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
squarenote 4, 0, 0, 0
squarenote 15, 240, 0, 5
squarenote 1, 0, 0, 0
diff --git a/audio/sfx/dex_page_added.asm b/audio/sfx/dex_page_added.asm
index f5fa966b..6f1d1457 100644
--- a/audio/sfx/dex_page_added.asm
+++ b/audio/sfx/dex_page_added.asm
@@ -1,10 +1,10 @@
SFX_Dex_Page_Added_Ch4:
duty 2
- pitchenvelope 68
+ pitchenvelope 4, 4
squarenote 15, 240, 240, 4
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 242, 80, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/faint_fall.asm b/audio/sfx/faint_fall.asm
index 60e997a0..4fc24c9c 100644
--- a/audio/sfx/faint_fall.asm
+++ b/audio/sfx/faint_fall.asm
@@ -1,6 +1,6 @@
SFX_Faint_Fall_Ch4:
duty 1
- pitchenvelope 175
+ pitchenvelope 10, -7
squarenote 15, 242, 128, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/faint_thud.asm b/audio/sfx/faint_thud.asm
index 1892a81f..6dd9b005 100644
--- a/audio/sfx/faint_thud.asm
+++ b/audio/sfx/faint_thud.asm
@@ -1,6 +1,6 @@
SFX_Faint_Thud_Ch4:
squarenote 15, 209, 0, 2
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/heal_ailment_1.asm b/audio/sfx/heal_ailment_1.asm
index 1166676e..35a0f647 100644
--- a/audio/sfx/heal_ailment_1.asm
+++ b/audio/sfx/heal_ailment_1.asm
@@ -1,9 +1,9 @@
SFX_Heal_Ailment_1_Ch4:
duty 2
- pitchenvelope 20
+ pitchenvelope 1, 4
squarenote 4, 242, 0, 6
squarenote 4, 242, 0, 6
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 242, 0, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/heal_ailment_2.asm b/audio/sfx/heal_ailment_2.asm
index 3c768ce7..e4fe0c9c 100644
--- a/audio/sfx/heal_ailment_2.asm
+++ b/audio/sfx/heal_ailment_2.asm
@@ -1,9 +1,9 @@
SFX_Heal_Ailment_2_Ch4:
duty 2
- pitchenvelope 20
+ pitchenvelope 1, 4
squarenote 4, 242, 0, 6
squarenote 4, 242, 0, 6
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 242, 0, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/heal_ailment_3.asm b/audio/sfx/heal_ailment_3.asm
index 727000de..fb17a5f1 100644
--- a/audio/sfx/heal_ailment_3.asm
+++ b/audio/sfx/heal_ailment_3.asm
@@ -1,9 +1,9 @@
SFX_Heal_Ailment_3_Ch4:
duty 2
- pitchenvelope 20
+ pitchenvelope 1, 4
squarenote 4, 242, 0, 6
squarenote 4, 242, 0, 6
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 242, 0, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/heal_hp_1.asm b/audio/sfx/heal_hp_1.asm
index 6a0cdabf..ece6a473 100644
--- a/audio/sfx/heal_hp_1.asm
+++ b/audio/sfx/heal_hp_1.asm
@@ -1,7 +1,7 @@
SFX_Heal_HP_1_Ch4:
duty 2
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 240, 240, 4
squarenote 15, 242, 80, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/heal_hp_2.asm b/audio/sfx/heal_hp_2.asm
index a9a441b2..96adff71 100644
--- a/audio/sfx/heal_hp_2.asm
+++ b/audio/sfx/heal_hp_2.asm
@@ -1,7 +1,7 @@
SFX_Heal_HP_2_Ch4:
duty 2
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 240, 240, 4
squarenote 15, 242, 80, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/heal_hp_3.asm b/audio/sfx/heal_hp_3.asm
index d1ae5279..b9f5817b 100644
--- a/audio/sfx/heal_hp_3.asm
+++ b/audio/sfx/heal_hp_3.asm
@@ -1,7 +1,7 @@
SFX_Heal_HP_3_Ch4:
duty 2
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 240, 240, 4
squarenote 15, 242, 80, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/healing_machine_1.asm b/audio/sfx/healing_machine_1.asm
index 49c40392..3bcaf4c4 100644
--- a/audio/sfx/healing_machine_1.asm
+++ b/audio/sfx/healing_machine_1.asm
@@ -1,9 +1,9 @@
SFX_Healing_Machine_1_Ch4:
duty 2
- pitchenvelope 44
+ pitchenvelope 2, -4
squarenote 4, 242, 0, 5
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 2, 241, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
squarenote 1, 0, 0, 0
endchannel
diff --git a/audio/sfx/healing_machine_3.asm b/audio/sfx/healing_machine_3.asm
index 91f35fa4..3ac6a514 100644
--- a/audio/sfx/healing_machine_3.asm
+++ b/audio/sfx/healing_machine_3.asm
@@ -1,9 +1,9 @@
SFX_Healing_Machine_3_Ch4:
duty 2
- pitchenvelope 44
+ pitchenvelope 2, -4
squarenote 4, 242, 0, 5
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 2, 241, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
squarenote 1, 0, 0, 0
endchannel
diff --git a/audio/sfx/intro_hip.asm b/audio/sfx/intro_hip.asm
index 6434f0a8..cc394d5c 100644
--- a/audio/sfx/intro_hip.asm
+++ b/audio/sfx/intro_hip.asm
@@ -1,6 +1,6 @@
SFX_Intro_Hip_Ch4:
duty 2
- pitchenvelope 38
+ pitchenvelope 2, 6
squarenote 12, 194, 64, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/intro_hop.asm b/audio/sfx/intro_hop.asm
index 89be1bfd..45829561 100644
--- a/audio/sfx/intro_hop.asm
+++ b/audio/sfx/intro_hop.asm
@@ -1,6 +1,6 @@
SFX_Intro_Hop_Ch4:
duty 2
- pitchenvelope 38
+ pitchenvelope 2, 6
squarenote 12, 194, 128, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/ledge_1.asm b/audio/sfx/ledge_1.asm
index d9626b09..d70043fa 100644
--- a/audio/sfx/ledge_1.asm
+++ b/audio/sfx/ledge_1.asm
@@ -1,6 +1,6 @@
SFX_Ledge_1_Ch4:
duty 2
- pitchenvelope 149
+ pitchenvelope 9, 5
squarenote 15, 242, 0, 4
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/ledge_3.asm b/audio/sfx/ledge_3.asm
index 466ada0b..858aad9c 100644
--- a/audio/sfx/ledge_3.asm
+++ b/audio/sfx/ledge_3.asm
@@ -1,6 +1,6 @@
SFX_Ledge_3_Ch4:
duty 2
- pitchenvelope 149
+ pitchenvelope 9, 5
squarenote 15, 242, 0, 4
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/poisoned_1.asm b/audio/sfx/poisoned_1.asm
index 3bf3cf91..d669912d 100644
--- a/audio/sfx/poisoned_1.asm
+++ b/audio/sfx/poisoned_1.asm
@@ -1,8 +1,8 @@
SFX_Poisoned_1_Ch4:
duty 0
- pitchenvelope 20
+ pitchenvelope 1, 4
squarenote 4, 242, 0, 6
loopchannel 4, SFX_Poisoned_1_Ch4
squarenote 15, 243, 0, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/poisoned_3.asm b/audio/sfx/poisoned_3.asm
index b651e3db..c0811adc 100644
--- a/audio/sfx/poisoned_3.asm
+++ b/audio/sfx/poisoned_3.asm
@@ -1,8 +1,8 @@
SFX_Poisoned_3_Ch4:
duty 0
- pitchenvelope 20
+ pitchenvelope 1, 4
squarenote 4, 242, 0, 6
loopchannel 4, SFX_Poisoned_3_Ch4
squarenote 15, 243, 0, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/pokeflute_ch4_ch5.asm b/audio/sfx/pokeflute_ch4_ch5.asm
index 146488d8..146488d8 100755..100644
--- a/audio/sfx/pokeflute_ch4_ch5.asm
+++ b/audio/sfx/pokeflute_ch4_ch5.asm
diff --git a/audio/sfx/pokeflute_ch6.asm b/audio/sfx/pokeflute_ch6.asm
index 4d4e5bae..4d4e5bae 100755..100644
--- a/audio/sfx/pokeflute_ch6.asm
+++ b/audio/sfx/pokeflute_ch6.asm
diff --git a/audio/sfx/psychic_m.asm b/audio/sfx/psychic_m.asm
index 6d70dc3b..55bb3d25 100644
--- a/audio/sfx/psychic_m.asm
+++ b/audio/sfx/psychic_m.asm
@@ -1,13 +1,13 @@
SFX_Psychic_M_Ch4:
duty 2
- pitchenvelope 247
+ pitchenvelope 15, 7
squarenote 8, 196, 189, 7
squarenote 8, 196, 190, 7
squarenote 8, 196, 191, 7
squarenote 8, 196, 192, 7
squarenote 15, 196, 193, 7
squarenote 15, 242, 192, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/shooting_star.asm b/audio/sfx/shooting_star.asm
index d33eefcb..36e77f45 100644
--- a/audio/sfx/shooting_star.asm
+++ b/audio/sfx/shooting_star.asm
@@ -1,6 +1,6 @@
SFX_Shooting_Star_Ch4:
dutycycle 228
- pitchenvelope 47
+ pitchenvelope 2, -7
squarenote 4, 64, 224, 7
squarenote 4, 96, 224, 7
squarenote 4, 128, 224, 7
@@ -10,5 +10,5 @@ SFX_Shooting_Star_Ch4:
squarenote 8, 96, 224, 7
squarenote 8, 48, 224, 7
squarenote 15, 18, 224, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/shrink_1.asm b/audio/sfx/shrink_1.asm
index b3cdca5d..8a2fb1d0 100644
--- a/audio/sfx/shrink_1.asm
+++ b/audio/sfx/shrink_1.asm
@@ -1,10 +1,10 @@
SFX_Shrink_1_Ch4:
duty 1
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 215, 0, 6
squarenote 15, 183, 128, 5
squarenote 15, 135, 0, 5
squarenote 15, 71, 128, 4
squarenote 15, 23, 0, 4
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/shrink_3.asm b/audio/sfx/shrink_3.asm
index 38b3f0e9..0256c6c9 100644
--- a/audio/sfx/shrink_3.asm
+++ b/audio/sfx/shrink_3.asm
@@ -1,10 +1,10 @@
SFX_Shrink_3_Ch4:
duty 1
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 215, 0, 6
squarenote 15, 183, 128, 5
squarenote 15, 135, 0, 5
squarenote 15, 71, 128, 4
squarenote 15, 23, 0, 4
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/teleport_enter1_1.asm b/audio/sfx/teleport_enter1_1.asm
index c4d1a681..c18d5af9 100644
--- a/audio/sfx/teleport_enter1_1.asm
+++ b/audio/sfx/teleport_enter1_1.asm
@@ -1,10 +1,10 @@
SFX_Teleport_Enter1_1_Ch4:
duty 1
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 215, 0, 7
squarenote 15, 183, 128, 6
squarenote 15, 135, 0, 6
squarenote 15, 71, 128, 5
squarenote 15, 23, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/teleport_enter1_3.asm b/audio/sfx/teleport_enter1_3.asm
index da57da67..d1d26cfb 100644
--- a/audio/sfx/teleport_enter1_3.asm
+++ b/audio/sfx/teleport_enter1_3.asm
@@ -1,10 +1,10 @@
SFX_Teleport_Enter1_3_Ch4:
duty 1
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 215, 0, 7
squarenote 15, 183, 128, 6
squarenote 15, 135, 0, 6
squarenote 15, 71, 128, 5
squarenote 15, 23, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/teleport_exit1_1.asm b/audio/sfx/teleport_exit1_1.asm
index d8fa2cd2..6276139b 100644
--- a/audio/sfx/teleport_exit1_1.asm
+++ b/audio/sfx/teleport_exit1_1.asm
@@ -1,10 +1,10 @@
SFX_Teleport_Exit1_1_Ch4:
duty 1
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 215, 0, 5
squarenote 15, 183, 128, 5
squarenote 15, 135, 0, 6
squarenote 15, 71, 128, 6
squarenote 15, 23, 0, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/teleport_exit1_3.asm b/audio/sfx/teleport_exit1_3.asm
index 43bd5255..e1af7fd2 100644
--- a/audio/sfx/teleport_exit1_3.asm
+++ b/audio/sfx/teleport_exit1_3.asm
@@ -1,10 +1,10 @@
SFX_Teleport_Exit1_3_Ch4:
duty 1
- pitchenvelope 23
+ pitchenvelope 1, 7
squarenote 15, 215, 0, 5
squarenote 15, 183, 128, 5
squarenote 15, 135, 0, 6
squarenote 15, 71, 128, 6
squarenote 15, 23, 0, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/teleport_exit2_1.asm b/audio/sfx/teleport_exit2_1.asm
index c342630d..dc952152 100644
--- a/audio/sfx/teleport_exit2_1.asm
+++ b/audio/sfx/teleport_exit2_1.asm
@@ -1,6 +1,6 @@
SFX_Teleport_Exit2_1_Ch4:
duty 1
- pitchenvelope 22
+ pitchenvelope 1, 6
squarenote 15, 210, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/teleport_exit2_3.asm b/audio/sfx/teleport_exit2_3.asm
index 5e688d11..74c5ed99 100644
--- a/audio/sfx/teleport_exit2_3.asm
+++ b/audio/sfx/teleport_exit2_3.asm
@@ -1,6 +1,6 @@
SFX_Teleport_Exit2_3_Ch4:
duty 1
- pitchenvelope 22
+ pitchenvelope 1, 6
squarenote 15, 210, 0, 5
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/tink_1.asm b/audio/sfx/tink_1.asm
index 3967f66c..1959cc5d 100644
--- a/audio/sfx/tink_1.asm
+++ b/audio/sfx/tink_1.asm
@@ -1,8 +1,8 @@
SFX_Tink_1_Ch4:
duty 2
- pitchenvelope 58
+ pitchenvelope 3, -2
squarenote 4, 242, 0, 2
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 8, 226, 0, 2
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/tink_2.asm b/audio/sfx/tink_2.asm
index 5a654926..99fc105b 100644
--- a/audio/sfx/tink_2.asm
+++ b/audio/sfx/tink_2.asm
@@ -1,8 +1,8 @@
SFX_Tink_2_Ch4:
duty 2
- pitchenvelope 58
+ pitchenvelope 3, -2
squarenote 4, 242, 0, 2
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 8, 226, 0, 2
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/tink_3.asm b/audio/sfx/tink_3.asm
index c4f443e2..e586402f 100644
--- a/audio/sfx/tink_3.asm
+++ b/audio/sfx/tink_3.asm
@@ -1,8 +1,8 @@
SFX_Tink_3_Ch4:
duty 2
- pitchenvelope 58
+ pitchenvelope 3, -2
squarenote 4, 242, 0, 2
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 8, 226, 0, 2
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/trade_machine_1.asm b/audio/sfx/trade_machine_1.asm
index 623e2c92..90be65db 100644
--- a/audio/sfx/trade_machine_1.asm
+++ b/audio/sfx/trade_machine_1.asm
@@ -1,7 +1,7 @@
SFX_Trade_Machine_1_Ch4:
duty 2
- pitchenvelope 21
+ pitchenvelope 1, 5
squarenote 15, 240, 240, 4
squarenote 15, 242, 80, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/trade_machine_3.asm b/audio/sfx/trade_machine_3.asm
index 19dc0957..f814056e 100644
--- a/audio/sfx/trade_machine_3.asm
+++ b/audio/sfx/trade_machine_3.asm
@@ -1,7 +1,7 @@
SFX_Trade_Machine_3_Ch4:
duty 2
- pitchenvelope 21
+ pitchenvelope 1, 5
squarenote 15, 240, 240, 4
squarenote 15, 242, 80, 6
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/unused2_2.asm b/audio/sfx/unused2_2.asm
index 36c10ba3..36c10ba3 100755..100644
--- a/audio/sfx/unused2_2.asm
+++ b/audio/sfx/unused2_2.asm
diff --git a/audio/sfx/unused_1.asm b/audio/sfx/unused_1.asm
index 9d1886cf..9d1886cf 100755..100644
--- a/audio/sfx/unused_1.asm
+++ b/audio/sfx/unused_1.asm
diff --git a/audio/sfx/unused_2.asm b/audio/sfx/unused_2.asm
index cf793ec3..cf793ec3 100755..100644
--- a/audio/sfx/unused_2.asm
+++ b/audio/sfx/unused_2.asm
diff --git a/audio/sfx/unused_3.asm b/audio/sfx/unused_3.asm
index b849f5fd..b849f5fd 100755..100644
--- a/audio/sfx/unused_3.asm
+++ b/audio/sfx/unused_3.asm
diff --git a/audio/sfx/withdraw_deposit_1.asm b/audio/sfx/withdraw_deposit_1.asm
index cc6c052a..14b1e66f 100644
--- a/audio/sfx/withdraw_deposit_1.asm
+++ b/audio/sfx/withdraw_deposit_1.asm
@@ -1,12 +1,12 @@
SFX_Withdraw_Deposit_1_Ch4:
duty 1
- pitchenvelope 58
+ pitchenvelope 3, -2
squarenote 4, 242, 0, 5
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 4, 226, 0, 5
- pitchenvelope 58
+ pitchenvelope 3, -2
squarenote 4, 242, 0, 7
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 15, 226, 0, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/audio/sfx/withdraw_deposit_3.asm b/audio/sfx/withdraw_deposit_3.asm
index a6a902de..b6dc4a7d 100644
--- a/audio/sfx/withdraw_deposit_3.asm
+++ b/audio/sfx/withdraw_deposit_3.asm
@@ -1,12 +1,12 @@
SFX_Withdraw_Deposit_3_Ch4:
duty 1
- pitchenvelope 58
+ pitchenvelope 3, -2
squarenote 4, 242, 0, 5
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 4, 226, 0, 5
- pitchenvelope 58
+ pitchenvelope 3, -2
squarenote 4, 242, 0, 7
- pitchenvelope 34
+ pitchenvelope 2, 2
squarenote 15, 226, 0, 7
- pitchenvelope 8
+ pitchenvelope 0, 0
endchannel
diff --git a/macros/audio_macros.asm b/macros/audio_macros.asm
index c81e2181..8195a04d 100755
--- a/macros/audio_macros.asm
+++ b/macros/audio_macros.asm
@@ -30,19 +30,24 @@ audio: MACRO
ENDC
ENDM
-pitchenvelope: MACRO ; this was originally unknownsfx0x10
+;format: length [0, 7], pitch change [-7, 7]
+pitchenvelope: MACRO
db $10
- db \1
+ IF \2 > 0
+ db (\1 << 4) | \2
+ ELSE
+ db (\1 << 4) | (%1000 | (\2 * -1))
+ ENDC
ENDM
-squarenote: MACRO ; this was originally unknownsfx0x20
+squarenote: MACRO
db $20 | \1
db \2
db \3
db \4
ENDM
-noisenote: MACRO ; this was originally unknownnoise0x20
+noisenote: MACRO
db $20 | \1
db \2
db \3