diff options
author | KuroiIeWa5Da <tyuki@adu.me> | 2012-01-26 07:05:20 -0600 |
---|---|---|
committer | KuroiIeWa5Da <tyuki@adu.me> | 2012-01-26 07:05:20 -0600 |
commit | 000b0f74b3576fe317f9782bd67a00868b8034d8 (patch) | |
tree | 1eadecfec13180258d402b4c7119f19209d1d3ef | |
parent | bf1968297996fa8e2a5f004d60b83e516840a632 (diff) |
Finsihed MeetRival Channel 1 Music Data and made some improvements to Music Disassembler
hg-commit-id: 1dcd37dff2f3
-rw-r--r-- | music.asm | 172 | ||||
-rw-r--r-- | music/pokeredmusicdisasm/Parser.cpp | 4 |
2 files changed, 174 insertions, 2 deletions
@@ -5737,7 +5737,177 @@ branch_b101: ;Meet Rival
MeetRival_md_1: ;B120 - B1BA
-INCBIN "baserom.gbc",$b120,$b1bb - $b120
+; B120
+ mus_tempo 0, 112
+ mus_volume 119
+ mus_duty duty75
+ mus_mod 6, 3, 4
+ db $e8; B12A
+ mus_vel 11, 3
+
+ mus_octave oct3
+ mus_note noteD, note16
+ mus_note noteC#, note16
+ mus_note noteC, note16; B130
+
+ mus_octave oct2
+ mus_note noteB, note16
+ mus_note noteA#, note8
+ mus_note noteA, note16
+ mus_note noteG#, note16; B135
+ mus_note noteG, note16
+ mus_note noteF#, note16
+ mus_note noteF, note4_8
+ mus_note noteD, note16
+ mus_note noteRst, note8_16; B13A
+
+ mus_note noteD, note16
+ mus_note noteRst, note4_16
+
+ mus_note noteA, note8
+ mus_note noteG, note8
+ mus_note noteA, note8; B13F
+
+branch_b140:
+ mus_note noteB, note4
+ mus_note noteA#, note8
+ mus_note noteA, note4
+ mus_note noteG, note8
+
+ mus_octave oct3; B144
+ mus_note noteC, note4
+ mus_note noteD, note8
+ mus_note noteRst, note4
+
+ mus_note noteD, note4
+ mus_note noteC#, note8; B149
+ mus_note noteC, note8
+
+ mus_octave oct2
+ mus_note noteB, note8
+
+ mus_octave oct3
+ mus_note noteC, note4; B14E
+ mus_note noteE, note8
+ mus_note noteD, note4
+ mus_note noteC, note8
+
+ mus_octave oct2
+ mus_note noteB, note4; B153
+
+ mus_octave oct3
+ mus_note noteC, note8
+ mus_note noteRst, note4
+
+ mus_note noteG, note4
+ mus_note noteG, note8; B158
+ mus_note noteF#, note8
+ mus_note noteE, note8
+ mus_note noteD, note8
+ mus_note noteF#, note8
+
+ mus_octave oct2; B15D
+ mus_note noteA, note8
+
+ mus_octave oct3
+ mus_note noteD, note8
+ mus_note noteF#, note8
+
+ mus_octave oct2; B162
+ mus_note noteA, note8
+
+ mus_octave oct3
+ mus_note noteD, note8
+
+ mus_octave oct2
+ mus_note noteD, note8; B167
+
+ mus_octave oct3
+ mus_note noteD, note8
+ mus_note noteRst, note8
+
+ mus_octave oct2
+ mus_note noteD, note8; B16C
+
+ mus_octave oct3
+ mus_note noteC, note4
+
+ mus_octave oct2
+ mus_note noteB, note8
+ mus_note noteA#, note8; B171
+ mus_note noteB, note8
+
+ mus_octave oct3
+ mus_note noteC, note8
+ mus_note noteF, note8
+
+ mus_octave oct2; B176
+ mus_note noteG, note8
+
+ mus_octave oct3
+ mus_note noteC, note8
+ mus_note noteF, note8
+ mus_note noteD#, note8; B17B
+ mus_note noteC, note8
+
+ mus_octave oct2
+ mus_note noteA#, note8
+ mus_note noteG, note8
+ mus_note noteRst, note4; B180
+
+ mus_note noteA#, note4
+
+ mus_octave oct3
+ mus_note noteC, note8
+
+ mus_octave oct2
+ mus_note noteA#, note8; B185
+
+ mus_octave oct3
+ mus_note noteC, note8
+
+ mus_vel 11, 7
+
+ mus_octave oct2
+ mus_note noteG, note4; B18B
+ mus_note noteD, note8
+ mus_note noteF, note4_8
+ mus_note noteF#, note4
+ mus_note noteD, note8
+ mus_note noteRst, note4; B190
+
+ mus_note noteD, note4
+
+ mus_vel 11, 3
+ mus_note noteA, note8
+ mus_note noteG, note8
+ mus_note noteA, note8; B196
+
+ mus_jump 0, branch_b140
+ mus_tempo 0, 100
+ mus_jump 0, branch_b1a5
+ mus_tempo 0, 112
+
+branch_b1a5:
+ mus_volume 119; B1A6
+ mus_duty duty75
+ mus_mod 6, 3, 4
+ db $e8
+ mus_vel 11, 3
+
+ mus_octave oct2; B1AF
+ mus_note noteD, note16
+ mus_note noteRst, note8_16
+
+ mus_note noteD, note16
+ mus_note noteRst, note4_16
+
+ mus_note noteA, note8; B1B4
+ mus_note noteG, note8
+ mus_note noteA, note8
+
+ mus_jump 0, branch_b140
+; B1BA
MeetRival_md_2: ;B1BB - B232
INCBIN "baserom.gbc",$b1bb,$b233 - $b1bb
diff --git a/music/pokeredmusicdisasm/Parser.cpp b/music/pokeredmusicdisasm/Parser.cpp index 4878ee10..b900b575 100644 --- a/music/pokeredmusicdisasm/Parser.cpp +++ b/music/pokeredmusicdisasm/Parser.cpp @@ -64,7 +64,9 @@ string Parser::GetParsedAsm() for(unsigned int i = 0; i < parsedString.size(); i++)
{
- tmpStr += parsedString[i] + "\n";
+ // Ensure each line isn't already a new-line, this prevents double or tripple empty lines from piling up
+ if(parsedString[i] != "\n") tmpStr += parsedString[i] + "\n";
+ else tmpStr += parsedString[i];
}
return tmpStr;
|