summaryrefslogtreecommitdiff
path: root/src/music.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/music.S')
-rw-r--r--src/music.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/music.S b/src/music.S
index 59c86a0..93c57dc 100644
--- a/src/music.S
+++ b/src/music.S
@@ -6,10 +6,23 @@
.extern sprintf
.global HaxMusic
+# Without Drums: Type 0
+# Athletic, Castle(Siro)
+
+# With Drums: Type 1
+# Overworld(Chijou), ...
+
HaxMusic:
cmpwi r3, 100
bltlr
+ li r4, 0 # Type: No Yoshi Drums
+ cmpwi r3, 200
+ blt Begin
+
+ li r4, 1
+Begin:
+
stwu r1, -0x10(r1)
mflr r0
stw r0, 0x14(r1)