The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tutorials Looking for a guide to help you out? Then you're in the right place! We've got everything you need, ranging from Mapping to Music!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.


Closed Thread
 
Thread Tools
  #26    
Old June 5th, 2008, 01:47 AM
Hardy Har Har's Avatar
Hardy Har Har
Oh dear, oh my...
 
Join Date: Mar 2008
Location: In a Swinub family-free area with Lippy the Lion
Age: 20
Gender:
Nature: Timid
Send a message via Yahoo to Hardy Har Har Send a message via Skype™ to Hardy Har Har
Is the following possible also when looping? (It's in the spoiler)
Spoiler:
@ 095 ----------------------------------------
.byte PATT
.word PKMNDP_-_GymLeaderRemix_1_019
.byte GOTO
.word PKMNDP_-_GymLeaderRemix_1_loop
.byte FINE
__________________
My DS is broken, I need a new one. Help me gain credits here:
http://www.xpango.com?ref=91393867
You might know me as Shaggy Typhlosion.
I support:
Attention, all Fire Pokémon Fans! There is now a game for you, known as Pokémon Flame of Destiny! Click the userbar to go there:

My deviantArt
My GPX+ eggs
My friend's eggs
My RMXP Pokémon fangame website (under construction)
Shoddy Battle - Hardy_SSC4: 5/23
  #27    
Old June 5th, 2008, 02:43 AM
clonex25's Avatar
clonex25
PM disabled until notice...
 
Join Date: Jun 2007
Location: Pearl of the Orient Seas
Age: 29
Gender:
Nature: Timid
Quote:
Originally Posted by psyduck007 View Post
Is the following possible also when looping? (It's in the spoiler)
Spoiler:
@ 095 ----------------------------------------
.byte PATT
.word PKMNDP_-_GymLeaderRemix_1_019
.byte GOTO
.word PKMNDP_-_GymLeaderRemix_1_loop
.byte FINE
I haven't tried this before, but it may work. Post here if something goes wrong.
__________________




I hvae updated the GBA Music Looping thread. It now has a tutorial for looping multiple-tracked S Files. Click the link below:
http://www.pokecommunity.com/showthread.php?t=118722

Due to popular demand, I have lowered the Wild Pokemon Theme (with two versions) and added it in my music collection thread:
http://www.pokecommunity.com/showthread.php?t=139756

Next STOP: To make guidelines regarding GBA music tracks
  #28    
Old June 5th, 2008, 03:06 AM
Hardy Har Har's Avatar
Hardy Har Har
Oh dear, oh my...
 
Join Date: Mar 2008
Location: In a Swinub family-free area with Lippy the Lion
Age: 20
Gender:
Nature: Timid
Send a message via Yahoo to Hardy Har Har Send a message via Skype™ to Hardy Har Har
Quote:
Originally Posted by clonex25 View Post
I haven't tried this before, but it may work. Post here if something goes wrong.
It already works. Thanks for everything...
__________________
My DS is broken, I need a new one. Help me gain credits here:
http://www.xpango.com?ref=91393867
You might know me as Shaggy Typhlosion.
I support:
Attention, all Fire Pokémon Fans! There is now a game for you, known as Pokémon Flame of Destiny! Click the userbar to go there:

My deviantArt
My GPX+ eggs
My friend's eggs
My RMXP Pokémon fangame website (under construction)
Shoddy Battle - Hardy_SSC4: 5/23
  #29    
Old June 18th, 2008, 12:56 AM
Teh Baro's Avatar
Teh Baro
In my times...!
 
Join Date: Mar 2006
Location: Spain
Gender: Male
Nature: Quiet
I'm glad you posted this because, although it all started with a post by me, I never had it clear.
Give and you shall receive.
__________________
what the fudge
  #30    
Old June 21st, 2008, 12:26 PM
shinysquirtle3
Beginning Trainer
 
Join Date: Feb 2008
Gender:
how do you loop D/P music? my brother's working on a hack of his own, and he wants to use the Cyrus battle music for one of the 3 rivals in it.
  #31    
Old June 21st, 2008, 12:43 PM
Tony the Awesome's Avatar
Tony the Awesome
mi nombre es tony
 
Join Date: Sep 2007
Quote:
Originally Posted by shinysquirtle3 View Post
how do you loop D/P music? my brother's working on a hack of his own, and he wants to use the Cyrus battle music for one of the 3 rivals in it.
It's the same thing as others. Just get it to an .s file and follow the tutorial.
__________________
Name: Tony
FC: 3094-2957-4865
  #32    
Old June 21st, 2008, 06:25 PM
shinysquirtle3
Beginning Trainer
 
Join Date: Feb 2008
Gender:
Quote:
Originally Posted by Tony the Awesome View Post
It's the same thing as others. Just get it to an .s file and follow the tutorial.
how do I get it to an .s file?
  #33    
Old June 21st, 2008, 11:55 PM
Master_Track's Avatar
Master_Track
ROM Reaverz Scripter
 
Join Date: Mar 2008
Location: Austria
Age: 21
Gender:
Nature: Brave
Send a message via Windows Live Messenger to Master_Track
with the help of midi2agb, just drag it onto the .exe file and a s-file will be created in the same folder.
the midi file will still be there.
__________________

*Busy with school*

  #34    
Old July 1st, 2008, 09:50 AM
Master_Track's Avatar
Master_Track
ROM Reaverz Scripter
 
Join Date: Mar 2008
Location: Austria
Age: 21
Gender:
Nature: Brave
Send a message via Windows Live Messenger to Master_Track
it's been some time since the last post, so I hope my double posting is okay.
I've read your tutorial really carefully and I completely understand it now (though I have still problems figuring out where to loop xD But I'll get this too).
There's only one thing bothering me, this part of ther tes_r:
Quote:
Originally Posted by tes_r
@ 050 ----------------------------------------
.byte N92 , Fs3 , v064
.byte W92
.byte W02
.byte GOTO
.word tes_7_loop
.byte FINE

@**************** Track 8 (Midi-Chn.10) ****************@
Is it a mistake in the tes_r file or am I not understanding everything?
here, the w values together are w92 + w02 = w94, but it has to be w96 like in all the other tracks.
So, a mistake or is there a rule I don't know?
(it's the same like the normal tes file, I checked it. the only difference is the loop, the values are the same).

Hope you read this
__________________

*Busy with school*

  #35    
Old July 1st, 2008, 10:11 PM
clonex25's Avatar
clonex25
PM disabled until notice...
 
Join Date: Jun 2007
Location: Pearl of the Orient Seas
Age: 29
Gender:
Nature: Timid
Quote:
Originally Posted by Master_Track View Post
it's been some time since the last post, so I hope my double posting is okay.
I've read your tutorial really carefully and I completely understand it now (though I have still problems figuring out where to loop xD But I'll get this too).
There's only one thing bothering me, this part of ther tes_r:


Is it a mistake in the tes_r file or am I not understanding everything?
here, the w values together are w92 + w02 = w94, but it has to be w96 like in all the other tracks.
So, a mistake or is there a rule I don't know? ^^
(it's the same like the normal tes file, I checked it. the only difference is the loop, the values are the same).

Hope you read this ^^
Well, first of all, I would like to thank you for that (I didn't notice that because I was in a rush that time, I forgot to double check). To make it equal to 96 just modify the Wxx code (without anything before it) to W04 to make it W96.
__________________




I hvae updated the GBA Music Looping thread. It now has a tutorial for looping multiple-tracked S Files. Click the link below:
http://www.pokecommunity.com/showthread.php?t=118722

Due to popular demand, I have lowered the Wild Pokemon Theme (with two versions) and added it in my music collection thread:
http://www.pokecommunity.com/showthread.php?t=139756

Next STOP: To make guidelines regarding GBA music tracks

Last edited by clonex25; July 7th, 2008 at 11:14 PM.
  #36    
Old July 12th, 2008, 01:57 AM
addman999
Beginning Trainer
 
Join Date: Apr 2008
Gender:
can someone tell why this will not work. it assembles in sappy but in the game there is silence. this tune worked when i hadn't tried to loop it.
PHP Code:
.include "MPlayDef.s"

    
.equ    Zelda_grpvoicegroup000
    
.equ    Zelda_pri0
    
.equ    Zelda_rev0
    
.equ    Zelda_mvl127
    
.equ    Zelda_key0
    
.equ    Zelda_tbs1
    
.equ    Zelda_exg0
    
.equ    Zelda_cmp1

    
.section .rodata
    
.global    Zelda
    
.align    2

@**************** Track 1 (Midi-Chn.1) ****************@

Zelda_1:
    .
byte        VOL   127*Zelda_mvl/mxv
    
.byte    KEYSH Zelda_key+0
000   ----------------------------------------
    .
byte    TEMPO 148*Zelda_tbs/2
    
.byte        VOICE 71
    
.byte        N48   As3 v064
    
.byte    W64
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
001   ----------------------------------------
Zelda_1_001:
    .
byte        N07   As3 v064
    
.byte    W16
    
.byte        N05   Gs3 
    
.byte    W08
    
.byte        N32   As3 
    
.byte    W40
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte    PEND
002   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_1_001
003   ----------------------------------------
    .
byte        N08   As3 v064
    
.byte    W12
    
.byte        N04   Fn3 
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N08   
    
.byte    W12
004   ----------------------------------------
Zelda_1_004:
    .
byte        N16   As3 v064
    
.byte    W24
    
.byte        N32   Fn3 
    
.byte    W42
    
.byte        N05   As3 
    
.byte    W06
    
.byte        N05   
    
.byte    W06
    
.byte                Cn4 
    
.byte    W06
    
.byte                Dn4 
    
.byte    W06
    
.byte                Ds4 
    
.byte    W06
    
.byte    PEND
005   ----------------------------------------
Zelda_1_005:
    .
byte        N44   Fn4 v064
    
.byte    W60
    
.byte        N08   
    
.byte    W12
    
.byte        N07   
    
.byte    W08
    
.byte                Fs4 
    
.byte    W08
    
.byte                Gs4 
    
.byte    W08
    
.byte    PEND
006   ----------------------------------------
    .
byte        N54   As4 
    
.byte    W56
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte                Gs4 
    
.byte    W08
    
.byte                Fs4 
    
.byte    W08
007   ----------------------------------------
    .
byte                Gs4 
    
.byte    W16
    
.byte                Fs4 
    
.byte    W08
    
.byte        N44   Fn4 
    
.byte    W48
    
.byte        N23   
    
.byte    W24
008   ----------------------------------------
    .
byte        N11   Ds4 
    
.byte    W12
    
.byte        N05   
    
.byte    W06
    
.byte                Fn4 
    
.byte    W06
    
.byte        N44   Fs4 
    
.byte    W48
    
.byte        N11   Fn4 
    
.byte    W12
    
.byte                Ds4 
    
.byte    W12
009   ----------------------------------------
    .
byte                Cs4 
    
.byte    W12
    
.byte        N05   
    
.byte    W06
    
.byte                Ds4 
    
.byte    W06
    
.byte        N44   Fn4 
    
.byte    W48
    
.byte        N11   Ds4 
    
.byte    W12
    
.byte                Cs4 
    
.byte    W12
010   ----------------------------------------
Zelda_1_loop:
Zelda_1_010:
    .
byte        N11   Cn4 v064
    
.byte    W12
    
.byte        N05   
    
.byte    W06
    
.byte                Dn4 
    
.byte    W06
    
.byte        N44   En4 
    
.byte    W48
    
.byte        N23   Gn4 
    
.byte    W24
    
.byte    PEND
011   ----------------------------------------
    .
byte        N08   Fn4 
    
.byte    W12
    
.byte        N04   Fn3 
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N08   
    
.byte    W12
012   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_1_004
013   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_1_005
014   ----------------------------------------
    .
byte        N68   As4 v064
    
.byte    W72
    
.byte        N23   Cs5 
    
.byte    W24
015   ----------------------------------------
    .
byte        N12   Cn5 
    
.byte    W24
    
.byte        N40   An4 
    
.byte    W48
    
.byte        N23   Fn4 
    
.byte    W24
016   ----------------------------------------
    .
byte        N52   Fs4 
    
.byte    W72
    
.byte        N23   As4 
    
.byte    W24
017   ----------------------------------------
    .
byte        N12   An4 
    
.byte    W24
    
.byte        N40   Fn4 
    
.byte    W48
    
.byte        N23   
    
.byte    W24
018   ----------------------------------------
    .
byte        N44   Fs4 
    
.byte    W72
    
.byte        N23   As4 
    
.byte    W24
019   ----------------------------------------
    .
byte        N11   An4 
    
.byte    W24
    
.byte        N44   Fn4 
    
.byte    W48
    
.byte        N23   Dn4 
    
.byte    W24
020   ----------------------------------------
    .
byte        N44   Ds4 
    
.byte    W72
    
.byte        N23   Fs4 
    
.byte    W24
021   ----------------------------------------
    .
byte        N11   Fn4 
    
.byte    W24
    
.byte        N44   Cs4 
    
.byte    W48
    
.byte        N23   As3 
    
.byte    W24
022   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_1_010
023   ----------------------------------------
    .
byte        N08   Fn4 v064
    
.byte    W12
    
.byte        N04   Fn3 
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N08   
    
.byte    W08
    
.byte    FINE

@**************** Track 2 (Midi-Chn.2) ****************@

Zelda_2:
    .
byte        VOL   127*Zelda_mvl/mxv
    
.byte    KEYSH Zelda_key+0
000   ----------------------------------------
    .
byte        VOICE 71
    
.byte        PAN   c_v-1
    
.byte        N48   Dn3 v060
    
.byte    W64
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
001   ----------------------------------------
    .
byte        N07   Cn3 
    
.byte    W16
    
.byte        N05   
    
.byte    W08
    
.byte        N32   
    
.byte    W48
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
002   ----------------------------------------
    .
byte        N07   Cs3 
    
.byte    W16
    
.byte        N05   
    
.byte    W08
    
.byte        N32   
    
.byte    W40
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
003   ----------------------------------------
    .
byte        N11   
    
.byte    W12
    
.byte        N04   An2 
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N08   
    
.byte    W12
004   ----------------------------------------
Zelda_2_004:
    .
byte        N16   Dn3 v060
    
.byte    W24
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte                Cn3 
    
.byte    W08
    
.byte        N11   Dn3 
    
.byte    W18
    
.byte        N05   
    
.byte    W06
    
.byte        N05   
    
.byte    W06
    
.byte                Ds3 
    
.byte    W06
    
.byte                Fn3 
    
.byte    W06
    
.byte                Gn3 
    
.byte    W06
    
.byte    PEND
005   ----------------------------------------
Zelda_2_005:
    .
byte        N17   Gs3 v060
    
.byte    W18
    
.byte        N05   As3 
    
.byte    W06
    
.byte        N05   
    
.byte    W06
    
.byte                Cn4 
    
.byte    W06
    
.byte                Dn4 
    
.byte    W06
    
.byte                Ds4 
    
.byte    W06
    
.byte        N11   Fn4 
    
.byte    W12
    
.byte        N11   
    
.byte    W12
    
.byte        N07   Gs3 
    
.byte    W08
    
.byte                As3 
    
.byte    W08
    
.byte                Cn4 
    
.byte    W08
    
.byte    PEND
006   ----------------------------------------
    .
byte        N17   Cs4 
    
.byte    W18
    
.byte        N05   Fs3 
    
.byte    W06
    
.byte        N05   
    
.byte    W06
    
.byte                Gs3 
    
.byte    W06
    
.byte                As3 
    
.byte    W06
    
.byte                Cn4 
    
.byte    W06
    
.byte        N11   Cs4 
    
.byte    W12
    
.byte        N11   
    
.byte    W12
    
.byte        N07   
    
.byte    W08
    
.byte                Cn4 
    
.byte    W08
    
.byte                As3 
    
.byte    W08
007   ----------------------------------------
    .
byte                Cs4 
    
.byte    W16
    
.byte                Gs3 
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte                Fs3 
    
.byte    W08
    
.byte                Gs3 
    
.byte    W16
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte                Fs3 
    
.byte    W08
    
.byte                Gs3 
    
.byte    W08
008   ----------------------------------------
    .
byte        N14   Fs3 
    
.byte    W16
    
.byte        N03   
    
.byte    W04
    
.byte                Fn3 
    
.byte    W04
    
.byte        N16   Fs3 
    
.byte    W16
    
.byte        N03   
    
.byte    W04
    
.byte                Gs3 
    
.byte    W04
    
.byte        N23   As3 
    
.byte    W24
    
.byte        N11   Gs3 
    
.byte    W12
    
.byte                Fs3 
    
.byte    W12
009   ----------------------------------------
    .
byte        N16   Fn3 
    
.byte    W16
    
.byte        N03   
    
.byte    W04
    
.byte                Ds3 
    
.byte    W04
    
.byte        N16   Fn3 
    
.byte    W16
    
.byte        N03   
    
.byte    W04
    
.byte                Fs3 
    
.byte    W04
    
.byte        N23   Gs3 
    
.byte    W24
    
.byte        N11   Fs3 
    
.byte    W12
    
.byte                Fn3 
    
.byte    W12
010   ----------------------------------------
Zelda_2_010:
    .
byte        N23   En3 v060
    
.byte    W24
    
.byte        N17   
    
.byte    W18
    
.byte        N05   Fn3 
    
.byte    W06
    
.byte        N16   Gn3 
    
.byte    W16
    
.byte        N03   
    
.byte    W04
    
.byte                An3 
    
.byte    W04
    
.byte        N11   As3 
    
.byte    W12
    
.byte                Cn4 
    
.byte    W12
    
.byte    PEND
011   ----------------------------------------
    .
byte        N08   An3 
    
.byte    W12
    
.byte        N04   An2 
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N08   
    
.byte    W12
012   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_2_004
013   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_2_005
014   ----------------------------------------
    .
byte        N68   Cs4 v060
    
.byte    W72
    
.byte        N23   En4 
    
.byte    W24
015   ----------------------------------------
    .
byte        N12   Ds4 
    
.byte    W24
    
.byte        N40   Cn4 
    
.byte    W48
    
.byte        N23   An3 
    
.byte    W24
016   ----------------------------------------
    .
byte        N52   Bn3 
    
.byte    W72
    
.byte        N23   Cs4 
    
.byte    W24
017   ----------------------------------------
    .
byte        N11   Cn4 
    
.byte    W24
    
.byte        N40   An3 
    
.byte    W48
    
.byte        N23   
    
.byte    W24
018   ----------------------------------------
    .
byte        N44   Bn3 
    
.byte    W72
    
.byte        N23   Cs4 
    
.byte    W24
019   ----------------------------------------
    .
byte        N11   Cn4 
    
.byte    W24
    
.byte        N44   An3 
    
.byte    W48
    
.byte        N23   
    
.byte    W24
020   ----------------------------------------
    .
byte        N44   Fs3 
    
.byte    W72
    
.byte        N23   Bn3 
    
.byte    W24
021   ----------------------------------------
    .
byte        N11   As3 
    
.byte    W24
    
.byte        N44   Fn3 
    
.byte    W48
    
.byte        N23   Cs3 
    
.byte    W24
022   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_2_010
023   ----------------------------------------
    .
byte        N08   An3 v060
    
.byte    W12
    
.byte        N04   An2 
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N04   
    
.byte    W06
    
.byte        N04   
    
.byte    W06
    
.byte        N08   
    
.byte    W12
    
.byte        N08   
    
.byte    W08
    
.byte    FINE

@**************** Track 3 (Midi-Chn.3) ****************@

Zelda_3:
    .
byte        VOL   127*Zelda_mvl/mxv
    
.byte    KEYSH Zelda_key+0
000   ----------------------------------------
    .
byte        VOICE 85
    
.byte        N16   As1 v127
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N16   
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
001   ----------------------------------------
    .
byte        N16   Gs1 
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N16   
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
002   ----------------------------------------
    .
byte        N16   Fs1 
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N16   
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
003   ----------------------------------------
    .
byte        N11   
    
.byte    W24
    
.byte        N08   Fn1 
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte        N11   Gn1 
    
.byte    W12
    
.byte                An1 
    
.byte    W12
004   ----------------------------------------
Zelda_3_004:
    .
byte        N08   As1 v127
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte                Gs1 
    
.byte    W08
    
.byte        N08   As1 
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte    PEND
005   ----------------------------------------
Zelda_3_005:
    .
byte        N08   Gs1 v127
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte                Fs1 
    
.byte    W08
    
.byte        N08   Gs1 
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte    PEND
006   ----------------------------------------
Zelda_3_006:
    .
byte        N08   Fs1 v127
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte                En1 
    
.byte    W08
    
.byte        N08   Fs1 
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte    PEND
007   ----------------------------------------
    .
byte        N11   Cs2 
    
.byte    W24
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte                Bn1 
    
.byte    W08
    
.byte        N11   Cs2 
    
.byte    W24
    
.byte        N11   
    
.byte    W24
008   ----------------------------------------
    .
byte                Bn1 
    
.byte    W24
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte                As1 
    
.byte    W08
    
.byte        N11   Bn1 
    
.byte    W24
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
009   ----------------------------------------
    .
byte        N11   As1 
    
.byte    W24
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte                Gs1 
    
.byte    W08
    
.byte        N11   As1 
    
.byte    W24
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
010   ----------------------------------------
    .
byte        N11   Cn2 
    
.byte    W24
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte                As1 
    
.byte    W08
    
.byte        N11   Cn2 
    
.byte    W24
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
    
.byte        N07   
    
.byte    W08
011   ----------------------------------------
    .
byte        N08   Fn1 
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte        N11   Gn1 
    
.byte    W12
    
.byte                An1 
    
.byte    W12
012   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_3_004
013   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_3_005
014   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_3_006
015   ----------------------------------------
    .
byte        N08   Fn1 v127
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N07   Ds1 
    
.byte    W08
    
.byte        N08   Fn1 
    
.byte    W24
    
.byte        N08   
    
.byte    W24
016   ----------------------------------------
Zelda_3_016:
    .
byte        N05   En1 v127
    
.byte    W08
    
.byte                As1 
    
.byte    W08
    
.byte                Cs2 
    
.byte    W08
    
.byte                En2 
    
.byte    W08
    
.byte                As2 
    
.byte    W08
    
.byte                Cs3 
    
.byte    W08
    
.byte        N08   En3 
    
.byte    W48
    
.byte    PEND
017   ----------------------------------------
Zelda_3_017:
    .
byte        N08   Fn3 v127
    
.byte    W24
    
.byte        N05   Fn1 
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N08   
    
.byte    W48
    
.byte    PEND
018   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_3_016
019   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_3_017
020   ----------------------------------------
    .
byte        N08   Bn1 v127
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte                As1 
    
.byte    W08
    
.byte        N08   Bn1 
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
021   ----------------------------------------
    .
byte        N08   As1 
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte                Gs1 
    
.byte    W08
    
.byte        N08   As1 
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
022   ----------------------------------------
    .
byte        N08   Cn2 
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N08   
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
023   ----------------------------------------
    .
byte        N08   Fn1 
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte    W02
    
.byte        N08   
    
.byte    W22
    
.byte        N11   Gn1 
    
.byte    W12
    
.byte                An1 
    
.byte    W11
    
.byte    FINE

@**************** Track 4 (Midi-Chn.10) ****************@

Zelda_4:
    .
byte        VOL   127*Zelda_mvl/mxv
    
.byte    KEYSH Zelda_key+0
000   ----------------------------------------
    .
byte        VOICE 0
    
.byte        N16   Dn1 v044
    
.byte    W72
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
001   ----------------------------------------
Zelda_4_001:
    .
byte        N16   Dn1 v044
    
.byte    W72
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte    PEND
002   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_001
003   ----------------------------------------
    .
byte        N08   Dn1 v044
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte        N08   
    
.byte    W12
    
.byte        N08   
    
.byte    W12
004   ----------------------------------------
Zelda_4_004:
    .
byte        N08   Dn1 v044
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N08   
    
.byte    W24
    
.byte        N08   
    
.byte    W24
    
.byte    PEND
005   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
006   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
007   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
008   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
009   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
010   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
011   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
012   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
013   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
014   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
015   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
016   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
017   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
018   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
019   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
020   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
021   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
022   ----------------------------------------
    .
byte    PATT
     
.word    Zelda_4_004
023   ----------------------------------------
    .
byte        N08   Dn1 v044
    
.byte    W24
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N05   
    
.byte    W08
    
.byte        N08   
    
.byte    W24
    
.byte        N08   
    
.byte    W08
        
.byte GOTO 
    .
word Zelda_1_loop
    
.byte W06
024   ---------------------------------------- 
    .
byte    FINE

@******************************************************@
    .
align    2

Zelda
:
    .
byte    4    NumTrks
    
.byte    0    NumBlks
    
.byte    Zelda_pri    Priority
    
.byte    Zelda_rev    Reverb.

    .
word    Zelda_grp

    
.word    Zelda_1
    
.word    Zelda_2
    
.word    Zelda_3
    
.word    Zelda_4

    
.end 
  #37    
Old July 21st, 2008, 09:58 AM
pokemonlover93's Avatar
pokemonlover93
The Crystal Sharder.
 
Join Date: Jun 2007
Location: Somewhat Peaceful Place.
Gender:
Nature: Timid
I can't seem to loop, I don't want to be a burden but, Clonex25, do you hink you could loop my tracks for me? Or send me some .s files that are of the Johto series only? Please? That they're looped already?



EDIT: Okay I found the Problem but I can't fix it, I accidentally hit OPEN WITH. and I hit Notepad but the ALWAYS OPEN IT WITH THIS APPLICATION was Checked,I can't assemble .s files anymore, sappy closes itself and has that Don't send stuff, Anyway that I can fix it? I need to finish what I started!
__________________
You know what they say...Where you are is where you are...

Last edited by pokemonlover93; July 22nd, 2008 at 09:48 AM. Reason: Found Reason
  #38    
Old July 22nd, 2008, 08:00 PM
clonex25's Avatar
clonex25
PM disabled until notice...
 
Join Date: Jun 2007
Location: Pearl of the Orient Seas
Age: 29
Gender:
Nature: Timid
Quote:
Originally Posted by pokemonlover93 View Post
I can't seem to loop, I don't want to be a burden but, Clonex25, do you hink you could loop my tracks for me? Or send me some .s files that are of the Johto series only? Please? That they're looped already?



EDIT: Okay I found the Problem but I can't fix it, I accidentally hit OPEN WITH. and I hit Notepad but the ALWAYS OPEN IT WITH THIS APPLICATION was Checked,I can't assemble .s files anymore, sappy closes itself and has that Don't send stuff, Anyway that I can fix it? I need to finish what I started!
You must download some kernel32 fix to make this work. Worst case, you must re-install your OS (Windows XP would be fine, and I mean a full re-formatting).
__________________




I hvae updated the GBA Music Looping thread. It now has a tutorial for looping multiple-tracked S Files. Click the link below:
http://www.pokecommunity.com/showthread.php?t=118722

Due to popular demand, I have lowered the Wild Pokemon Theme (with two versions) and added it in my music collection thread:
http://www.pokecommunity.com/showthread.php?t=139756

Next STOP: To make guidelines regarding GBA music tracks
  #39    
Old July 31st, 2008, 10:01 PM
clonex25's Avatar
clonex25
PM disabled until notice...
 
Join Date: Jun 2007
Location: Pearl of the Orient Seas
Age: 29
Gender:
Nature: Timid
Quote:
Originally Posted by AmineX View Post
would like know clonex why drum (acoustic grand channel 10)no sound in rom when i use string ensemble 1 and some other instrument?
all compatile instrument work fine
why drum no drum no?
what i can do?
Have you used more than 5 tracks or more than 6 instruments in your MIDI? If yes, then some of the tracks won't play at all. Also, some voicegroups don't have a percussion or has a different instrument for drums (but always use Channel 10 for it).
__________________




I hvae updated the GBA Music Looping thread. It now has a tutorial for looping multiple-tracked S Files. Click the link below:
http://www.pokecommunity.com/showthread.php?t=118722

Due to popular demand, I have lowered the Wild Pokemon Theme (with two versions) and added it in my music collection thread:
http://www.pokecommunity.com/showthread.php?t=139756

Next STOP: To make guidelines regarding GBA music tracks
  #40    
Old July 31st, 2008, 10:44 PM
Magnius
Pokemon Music Hacking Guru
 
Join Date: Jul 2005
Gender:
Nature: Adamant
Quote:
Originally Posted by clonex25 View Post
Have you used more than 5 tracks or more than 6 instruments in your MIDI? If yes, then some of the tracks won't play at all. Also, some voicegroups don't have a percussion or has a different instrument for drums (but always use Channel 10 for it).
lol pretty much same answer I gave him
  #41    
Old August 1st, 2008, 03:40 AM
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
hey clonex, thanks for this tutorial, though I have some questions... :\

what voices/instruments are suitable for Ruby?
for instance, 48 and 47 sounds good with the music, but I am a bit bored using the same voices... :\

thanks~
__________________
3DS FC: 0061-1111-6462
SV: 1364 | Rock Safari: Dwebble, Corsola and Barbaracle
  #42    
Old August 1st, 2008, 03:50 AM
Magnius
Pokemon Music Hacking Guru
 
Join Date: Jul 2005
Gender:
Nature: Adamant
Quote:
Originally Posted by destinedjagold View Post
hey clonex, thanks for this tutorial, though I have some questions... :\

what voices/instruments are suitable for Ruby?
for instance, 48 and 47 sounds good with the music, but I am a bit bored using the same voices... :\

thanks~
lol should check out my two tutorials for all that stuff. My second tutorial especially would help you as it tells you what instruments will sound good on the GBA and stuff.
  #43    
Old August 4th, 2008, 12:31 PM
Magnius
Pokemon Music Hacking Guru
 
Join Date: Jul 2005
Gender:
Nature: Adamant
lol still trying to get this right. As of now, I can loop like one or two tracks, but if I put the SAME loop at the same place on another track, it won't loop correctly.
  #44    
Old August 6th, 2008, 10:40 PM
clonex25's Avatar
clonex25
PM disabled until notice...
 
Join Date: Jun 2007
Location: Pearl of the Orient Seas
Age: 29
Gender:
Nature: Timid
Quote:
Originally Posted by Magnius View Post
lol still trying to get this right. As of now, I can loop like one or two tracks, but if I put the SAME loop at the same place on another track, it won't loop correctly.
Just try to split Wxx values until you get what you want. It takes practice. Anyways, good job.
__________________




I hvae updated the GBA Music Looping thread. It now has a tutorial for looping multiple-tracked S Files. Click the link below:
http://www.pokecommunity.com/showthread.php?t=118722

Due to popular demand, I have lowered the Wild Pokemon Theme (with two versions) and added it in my music collection thread:
http://www.pokecommunity.com/showthread.php?t=139756

Next STOP: To make guidelines regarding GBA music tracks
  #45    
Old September 4th, 2008, 03:45 PM
~Frozen Darkness~'s Avatar
~Frozen Darkness~
It's watching you...
 
Join Date: Apr 2008
Location: Staten Island, NY
Age: 16
Gender: Male
Nature: Docile
Hey for some reason this S file isn't working can someone plz tell me what's wrong? Sorry you'll have to download it the file is too big to put in one post or it would take up the whole page.

Last edited by ~Frozen Darkness~; September 17th, 2008 at 01:52 PM.
  #46    
Old September 5th, 2008, 08:49 AM
~Frozen Darkness~'s Avatar
~Frozen Darkness~
It's watching you...
 
Join Date: Apr 2008
Location: Staten Island, NY
Age: 16
Gender: Male
Nature: Docile
Thanks I needed to loop that song for a hack I'm helping. That song is the Route 201 music from D/P.
  #47    
Old September 19th, 2008, 08:27 AM
Craver's Avatar
Craver
I'm From WAH!
 
Join Date: Apr 2008
Location: Argentina
Age: 21
Gender: Male
Nature: Quirky
Wtf? Appearently, sappy doesnt too easy too use,. In order Clonex, can u say me how to do for make repeat's any song? C u later =)
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
  #48    
Old January 3rd, 2009, 09:53 PM
Magnius
Pokemon Music Hacking Guru
 
Join Date: Jul 2005
Gender:
Nature: Adamant
I give up on trying to loop this midi. Sappy just crashes when I try to.

Ergh. I CAN'T loop this midi, it keeps crashing when I try.

I might need help on this.
__________________
Check out my original music on my youtube channel:
http://www.youtube.com/user/MagniusKun?feature=mhee

Last edited by Magnius; January 3rd, 2009 at 10:20 PM.
  #49    
Old January 19th, 2009, 04:59 PM
Red Apple™
Booted out - don't be like me!
 
Join Date: Oct 2008
Location: Different Dimension
Age: 18
Gender:
Nature: Relaxed
Send a message via AIM to Red Apple™ Send a message via Windows Live Messenger to Red Apple™
Quote:
Originally Posted by clonex25 View Post
WARNING:
The following steps may or may not affect the performance of your operating system. These may include DLL-related errors.
USE IT AT YOUR OWN RISK (But dont tell me I didn't warn you).

CREDITS:
Teh Baro, for posting the code primer (without that post, I couldn't get the idea of manual S file editing)
http://www.pokecommunity.com/showthr...67#post2936767
Kawa's Sappy bytecode help file

LET'S GET STARTED

- Before anything else, convert your custom MIDI to a GBA S file through the MIDI2GBA tool. After conversion, just open the text editor (you may choose WordPad or NotePad), Click File>Open, choose "All Documents" in "Files of Type" option, and select the S File.

REMINDERS: Associating S files with the text editor may affect the performance of Sappy especially in its assembling feature. You may get a permanent kernel32 error upon assembly.

Let's familiarize ourselves with the code (The items necessary for the looping procedure will be boldfaced):

Code:
 	.include "MPlayDef.s"

	.equ	frlgmbattlb_grp, voicegroup000
	.equ	frlgmbattlb_pri, 0
	.equ	frlgmbattlb_rev, 0
	.equ	frlgmbattlb_mvl, 127
	.equ	frlgmbattlb_key, 0
	.equ	frlgmbattlb_tbs, 1
	.equ	frlgmbattlb_exg, 0
	.equ	frlgmbattlb_cmp, 1

	.section .rodata
	.global	frlgmbattlb
	.align	2

@**************** Track 1 (Midi-Chn.5) ****************@

frlgmbattlb_1:   @ ------> label 
	.byte	KEYSH , frlgmbattlb_key+0
@ 000   -------- @ ------> measure number 
	.byte	TEMPO , 182*frlgmbattlb_tbs/2
	.byte		VOICE , 33
	.byte		VOL   , 127*frlgmbattlb_mvl/mxv
	.byte		N06   , Ds1 , v104
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        En1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        Fn1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        Fs1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
@ 001   ----------------------------------------
	.byte		        Gn1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        Gs1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        An1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		N12   , As1 
	.byte	W12
	.byte		        An1 
	.byte	W12
@ 002   ----------------------------------------
frlgmbattlb_1_002: @ ------> a pattern label 
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 003   ----------------------------------------
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
@ 004   ----------------------------------------
	.byte		        Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		N32   , Ds2 
	.byte	W08
	.byte		BEND  , c_v-2
	.byte	W01
	.byte		        c_v-8
	.byte	W02
	.byte		        c_v-10
	.byte	W01
	.byte		        c_v-15
	.byte	W02
	.byte		        c_v-17
	.byte	W01
	.byte		        c_v-21
	.byte	W02
	.byte		        c_v-23
	.byte	W01
	.byte		        c_v-29
	.byte	W02
	.byte		        c_v-31
	.byte	W01
	.byte		        c_v-39
	.byte	W02
	.byte		        c_v-40
	.byte	W01
	.byte		        c_v-44
	.byte	W02
	.byte		        c_v-46
	.byte	W01
	.byte		        c_v-52
	.byte	W02
	.byte		        c_v-54
	.byte	W01
	.byte		        c_v-60
	.byte	W02
	.byte		        c_v-61
	.byte	W01
	.byte		        c_v-63
	.byte	W02
	.byte		        c_v-51
	.byte	W01
	.byte		        c_v+0
	.byte		N12   , Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
@ 005   ----------------------------------------
	.byte		        Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Ds2 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
@ 006   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_002
@ 007   ----------------------------------------
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
@ 008   ----------------------------------------
	.byte		        Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		N06   , Dn1 
	.byte	W06
	.byte		        Ds1 
	.byte	W06
	.byte		        Gn1 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		N12   , Ds2 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
@ 009   ----------------------------------------
	.byte		        Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        Ds2 
	.byte	W12
	.byte		N06   , Ds1 
	.byte	W06
	.byte		        Gn1 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		        Cn2 
	.byte	W06
	.byte		N12   , Ds2 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
@ 010   ----------------------------------------
frlgmbattlb_1_010:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N06   , Gn1 
	.byte	W06
	.byte		        Fs1 
	.byte	W06
	.byte		        En1 
	.byte	W06
	.byte		        Ds1 
	.byte	W06
	.byte	PEND
@ 011   ----------------------------------------
frlgmbattlb_1_011:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 012   ----------------------------------------
frlgmbattlb_1_012:
	.byte		N12   , Ds1 , v116
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte	PEND
@ 013   ----------------------------------------
frlgmbattlb_1_013:
	.byte		N12   , Ds1 , v116
	.byte	W12
	.byte		        Fs1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		        Fn1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte	PEND
@ 014   ----------------------------------------
frlgmbattlb_1_014:
	.byte		N24   , Dn1 , v116
	.byte	W24
	.byte		N12   , An1 
	.byte	W12
	.byte		N18   , Dn1 
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte	PEND
@ 015   ----------------------------------------
frlgmbattlb_1_015:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W24
	.byte		N12   
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte		N06   , An1 
	.byte	W12
	.byte	PEND
@ 016   ----------------------------------------
frlgmbattlb_1_016:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W24
	.byte		N12   
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 017   ----------------------------------------
frlgmbattlb_1_017:
	.byte		N24   , Dn1 , v108
	.byte	W24
	.byte		        Cn2 
	.byte	W24
	.byte		        Cn1 
	.byte	W24
	.byte		N18   , Gn1 
	.byte	W18
	.byte		N03   , Fn1 
	.byte	W03
	.byte		        En1 
	.byte	W03
	.byte	PEND
@ 018   ----------------------------------------
frlgmbattlb_1_018:
	.byte		N24   , Ds1 , v116
	.byte	W24
	.byte		N12   , As1 
	.byte	W12
	.byte		N18   , Ds1 
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		N03   , As1 
	.byte	W12
	.byte		N12   , Cn1 
	.byte	W12
	.byte	PEND
@ 019   ----------------------------------------
frlgmbattlb_1_019:
	.byte		N12   , Ds2 , v116
	.byte	W12
	.byte		N06   , Gn1 
	.byte	W12
	.byte		N12   , As1 
	.byte	W12
	.byte		N06   , Ds2 
	.byte	W12
	.byte		        Ds1 
	.byte	W06
	.byte		        Gn1 
	.byte	W06
	.byte		        An1 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		N12   , Ds2 
	.byte	W12
	.byte		        Cs2 
	.byte	W12
	.byte	PEND
@ 020   ----------------------------------------
frlgmbattlb_1_020:
	.byte		N12   , An1 , v116
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N06   , Dn1 
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte		N06   , An1 
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte	PEND
@ 021   ----------------------------------------
frlgmbattlb_1_021:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N06   , Cs2 
	.byte	W06
	.byte		        Dn2 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		        Cn2 
	.byte	W06
	.byte		        An1 
	.byte	W06
	.byte		        Gs1 
	.byte	W06
	.byte		        Gn1 
	.byte	W06
	.byte		        Fs1 
	.byte	W06
	.byte	PEND
@ 022   ----------------------------------------
frlgmbattlb_1_022:
	.byte		N06   , Cn1 , v116
	.byte	W12
	.byte		N12   
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		N18   , Cn1 
	.byte	W24
	.byte		N06   
	.byte	W12
	.byte	PEND
@ 023   ----------------------------------------
frlgmbattlb_1_023:
	.byte		N12   , Cn1 , v116
	.byte	W24
	.byte		N06   
	.byte	W12
	.byte		N03   
	.byte	W06
	.byte		N03   
	.byte	W06
	.byte		N44   , Cn2 
	.byte	W11
	.byte		BEND  , c_v-2
	.byte	W01
	.byte		        c_v-6
	.byte	W02
	.byte		        c_v-7
	.byte	W01
	.byte		        c_v-10
	.byte	W02
	.byte		        c_v-12
	.byte	W01
	.byte		        c_v-17
	.byte	W02
	.byte		        c_v-19
	.byte	W01
	.byte		        c_v-23
	.byte	W02
	.byte		        c_v-25
	.byte	W01
	.byte		        c_v-31
	.byte	W02
	.byte		        c_v-32
	.byte	W01
	.byte		        c_v-35
	.byte	W02
	.byte		        c_v-37
	.byte	W01
	.byte		        c_v-42
	.byte	W02
	.byte		        c_v-43
	.byte	W01
	.byte		        c_v-47
	.byte	W02
	.byte		        c_v-51
	.byte	W01
	.byte		        c_v-64
	.byte	W11
	.byte		        c_v-52
	.byte	W01
	.byte	PEND
@ 024   ----------------------------------------
frlgmbattlb_1_024:
	.byte		BEND  , c_v+0
	.byte		N24   , An1 , v116
	.byte	W24
	.byte		N06   , Fs1 
	.byte	W12
	.byte		        An1 
	.byte	W06
	.byte		        Bn1 
	.byte	W06
	.byte		N12   , Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Fs1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 025   ----------------------------------------
frlgmbattlb_1_025:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W24
	.byte		N32   
	.byte	W11
	.byte		BEND  , c_v-2
	.byte	W01
	.byte		        c_v-6
	.byte	W05
	.byte		        c_v-7
	.byte	W01
	.byte		        c_v-10
	.byte	W02
	.byte		        c_v-11
	.byte	W01
	.byte		        c_v-15
	.byte	W02
	.byte		        c_v-16
	.byte	W01
	.byte		        c_v-20
	.byte	W02
	.byte		        c_v-22
	.byte	W01
	.byte		        c_v-28
	.byte	W02
	.byte		        c_v-29
	.byte	W01
	.byte		        c_v-32
	.byte	W02
	.byte		        c_v-34
	.byte	W01
	.byte		        c_v-39
	.byte	W02
	.byte		        c_v-32
	.byte	W01
	.byte		        c_v+0
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte	PEND
@ 026   ----------------------------------------
frlgmbattlb_1_026:
	.byte		N12   , Cn2 , v116
	.byte	W36
	.byte		N03   
	.byte	W06
	.byte		N03   
	.byte	W06
	.byte		N44   , Gn1 
	.byte	W11
	.byte		BEND  , c_v-2
	.byte	W01
	.byte		        c_v-6
	.byte	W02
	.byte		        c_v-7
	.byte	W01
	.byte		        c_v-10
	.byte	W02
	.byte		        c_v-12
	.byte	W01
	.byte		        c_v-17
	.byte	W02
	.byte		        c_v-19
	.byte	W01
	.byte		        c_v-23
	.byte	W02
	.byte		        c_v-25
	.byte	W01
	.byte		        c_v-31
	.byte	W02
	.byte		        c_v-32
	.byte	W01
	.byte		        c_v-35
	.byte	W02
	.byte		        c_v-37
	.byte	W01
	.byte		        c_v-42
	.byte	W02
	.byte		        c_v-43
	.byte	W01
	.byte		        c_v-47
	.byte	W02
	.byte		        c_v-51
	.byte	W01
	.byte		        c_v-64
	.byte	W11
	.byte		        c_v-52
	.byte	W01
	.byte	PEND
@ 027   ----------------------------------------
frlgmbattlb_1_027:
	.byte		BEND  , c_v+0
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        Bn1 
	.byte	W12
	.byte		        Fs1 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte	PEND
@ 028   ----------------------------------------
frlgmbattlb_1_028:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        Fs1 
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 029   ----------------------------------------
frlgmbattlb_1_029:
	.byte		N12   , Dn2 , v116
	.byte	W12
	.byte		N06   , An1 
	.byte	W12
	.byte		N12   , Fs1 
	.byte	W12
	.byte		N06   , An1 
	.byte	W12
	.byte		        Cn2 
	.byte	W06
	.byte		        Dn2 
	.byte	W06
	.byte		        An1 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		        Fs1 
	.byte	W06
	.byte		        Fn1 
	.byte	W06
	.byte		        En1 
	.byte	W06
	.byte		        Ds1 
	.byte	W06
	.byte	PEND
@ 030   ----------------------------------------
frlgmbattlb_1_030:
	.byte		N28   , Dn1 , v116
	.byte	W36
	.byte		N06   
	.byte	W24
	.byte		N24   
	.byte	W36
	.byte	PEND
@ 031   ----------------------------------------
frlgmbattlb_1_031:
	.byte		N12   , Cs2 , v116
	.byte	W12
	.byte		N24   , Dn2 
	.byte	W24
	.byte		N18   , Dn1 
	.byte	W24
	.byte		N06   
	.byte	W24
	.byte		N06   
	.byte	W12
	.byte	PEND
@ 032   ----------------------------------------
frlgmbattlb_1_032:
	.byte		N24   , Ds1 , v116
	.byte	W24
	.byte		N12   , Ds2 
	.byte	W12
	.byte		N18   , Ds1 
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		N24   , Ds2 
	.byte	W24
	.byte	PEND
@ 033   ----------------------------------------
	.byte		N12   , Dn2 
	.byte	W12
	.byte		        Ds2 
	.byte	W36
	.byte		        As1 
	.byte	W12
	.byte		N06   , Cn2 
	.byte	W12
	.byte		N12   , Gn1 
	.byte	W12
	.byte		N06   , As1 
	.byte	W12
@ 034   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_010
@ 035   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_011
@ 036   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_012
@ 037   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_013
@ 038   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_014
@ 039   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_015
@ 040   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_016
@ 041   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_017
@ 042   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_018
@ 043   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_019
@ 044   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_020
@ 045   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_021
@ 046   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_022
@ 047   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_023
@ 048   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_024
@ 049   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_025
@ 050   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_026
@ 051   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_027
@ 052   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_028
@ 053   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_029
@ 054   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_030
@ 055   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_031
@ 056   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_032
@ 057   ----------------------------------------
	.byte		N12   , Dn2 , v116
	.byte	W12
	.byte		        Ds2 
	.byte	W36
	.byte		        As1 
	.byte	W12
	.byte		N06   , Cn2 
	.byte	W12
	.byte		N12   , Gn1 
	.byte	W12
	.byte		N06   , As1 
	.byte	W06
	.byte	FINE	@ ------> end of track 

@******************************************************@
	.align	2

frlgmbattlb:
	.byte	1	@ NumTrks
	.byte	0	@ NumBlks
	.byte	frlgmbattlb_pri	@ Priority
	.byte	frlgmbattlb_rev	@ Reverb.

	.word	frlgmbattlb_grp

	.word	frlgmbattlb_1

	.end
SINGLE TRACK LOOPING

-----------

- To make the loop, you must first find the end of the track, and it usually ends with:

Code:
	.byte	FINE 
-Place the following code before the “.byte FINE” code line:

Code:
	.byte GOTO @ ----> Unconditional jump Ref. Sappy’s Help file
	.word <name of loop label/pointer> @ ----> loop label name
	.byte W06 
REMINDERS: Although an option to place in the code, the purpose of the ".byte W06" after the GOTO and label statement is to give the GBA processor and memory enough time to go at the specified label's position, avoiding crashes at runtime. Adding an additional measure name before the “.byte FINE” code line is also optional, but recommended to avoid confusion. Besides the “@” sign signifies commenting in the S file. I also recommend using a label name which is similar to what is already in there (e.g. frlgmbattlb_1, newbark_2...).

The end of track must look like this:
Code:
	.byte GOTO
	.word frlgmbattlb_1_loop
	.byte W06
	.byte FINE

-and place the exact same label name (in this case, frlgmbattlb_1_loop) followed by a colon (:) in the place or measure you want to consider as the start of the loop. If a measure has a pattern statement (begins with a pattern label, format: <filename>_<track number>_<measure number>, and ends with .byte PEND), place the loop label before the pattern label.

Code:
@ 010   ----------------------------------------
frlgmbattlb_1_loop:
frlgmbattlb_1_010: @ -----> start of pattern statement 
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N06   , Gn1 
	.byte	W06
	.byte		        Fs1 
	.byte	W06
	.byte		        En1 
	.byte	W06
	.byte		        Ds1 
	.byte	W06
	.byte	PEND @ -----> end of pattern statement 
To make things simple, always remember that:
Code:
frlgmbattlb_1_loop:   @ ----> start of GOTO (loop) statement 

<lines of code to loop>

.byte GOTO			@ \
.word frlgmbattlb_1_loop	@  > ---> end of GOTO (loop statement)
.byte W06				@ /


.byte FINE
As an end result, you must have a code that looks like this (pay attention to the boldfaced codes for further understanding):
Code:
	.include "MPlayDef.s"

	.equ	frlgmbattlb_grp, voicegroup000
	.equ	frlgmbattlb_pri, 0
	.equ	frlgmbattlb_rev, 0
	.equ	frlgmbattlb_mvl, 127
	.equ	frlgmbattlb_key, 0
	.equ	frlgmbattlb_tbs, 1
	.equ	frlgmbattlb_exg, 0
	.equ	frlgmbattlb_cmp, 1

	.section .rodata
	.global	frlgmbattlb
	.align	2

@**************** Track 1 (Midi-Chn.5) ****************@

frlgmbattlb_1:
	.byte	KEYSH , frlgmbattlb_key+0
@ 000   ----------------------------------------
	.byte	TEMPO , 182*frlgmbattlb_tbs/2
	.byte		VOICE , 33
	.byte		VOL   , 127*frlgmbattlb_mvl/mxv
	.byte		N06   , Ds1 , v104
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        En1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        Fn1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        Fs1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
@ 001   ----------------------------------------
	.byte		        Gn1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        Gs1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		        An1 
	.byte	W12
	.byte		N06   
	.byte	W06
	.byte		        Dn1 
	.byte	W06
	.byte		N12   , As1 
	.byte	W12
	.byte		        An1 
	.byte	W12
@ 002   ----------------------------------------
frlgmbattlb_1_002:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 003   ----------------------------------------
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
@ 004   ----------------------------------------
	.byte		        Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		N32   , Ds2 
	.byte	W08
	.byte		BEND  , c_v-2
	.byte	W01
	.byte		        c_v-8
	.byte	W02
	.byte		        c_v-10
	.byte	W01
	.byte		        c_v-15
	.byte	W02
	.byte		        c_v-17
	.byte	W01
	.byte		        c_v-21
	.byte	W02
	.byte		        c_v-23
	.byte	W01
	.byte		        c_v-29
	.byte	W02
	.byte		        c_v-31
	.byte	W01
	.byte		        c_v-39
	.byte	W02
	.byte		        c_v-40
	.byte	W01
	.byte		        c_v-44
	.byte	W02
	.byte		        c_v-46
	.byte	W01
	.byte		        c_v-52
	.byte	W02
	.byte		        c_v-54
	.byte	W01
	.byte		        c_v-60
	.byte	W02
	.byte		        c_v-61
	.byte	W01
	.byte		        c_v-63
	.byte	W02
	.byte		        c_v-51
	.byte	W01
	.byte		        c_v+0
	.byte		N12   , Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
@ 005   ----------------------------------------
	.byte		        Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Ds2 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
@ 006   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_002
@ 007   ----------------------------------------
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
@ 008   ----------------------------------------
	.byte		        Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		N06   , Dn1 
	.byte	W06
	.byte		        Ds1 
	.byte	W06
	.byte		        Gn1 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		N12   , Ds2 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
@ 009   ----------------------------------------
	.byte		        Ds1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        Ds2 
	.byte	W12
	.byte		N06   , Ds1 
	.byte	W06
	.byte		        Gn1 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		        Cn2 
	.byte	W06
	.byte		N12   , Ds2 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
@ 010   ----------------------------------------
frlgmbattlb_1_loop:
frlgmbattlb_1_010:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N06   , Gn1 
	.byte	W06
	.byte		        Fs1 
	.byte	W06
	.byte		        En1 
	.byte	W06
	.byte		        Ds1 
	.byte	W06
	.byte	PEND
@ 011   ----------------------------------------
frlgmbattlb_1_011:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 012   ----------------------------------------
frlgmbattlb_1_012:
	.byte		N12   , Ds1 , v116
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte	PEND
@ 013   ----------------------------------------
frlgmbattlb_1_013:
	.byte		N12   , Ds1 , v116
	.byte	W12
	.byte		        Fs1 
	.byte	W12
	.byte		        Ds1 
	.byte	W12
	.byte		        Fn1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        As1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte	PEND
@ 014   ----------------------------------------
frlgmbattlb_1_014:
	.byte		N24   , Dn1 , v116
	.byte	W24
	.byte		N12   , An1 
	.byte	W12
	.byte		N18   , Dn1 
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte	PEND
@ 015   ----------------------------------------
frlgmbattlb_1_015:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W24
	.byte		N12   
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte		N06   , An1 
	.byte	W12
	.byte	PEND
@ 016   ----------------------------------------
frlgmbattlb_1_016:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W24
	.byte		N12   
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 017   ----------------------------------------
frlgmbattlb_1_017:
	.byte		N24   , Dn1 , v108
	.byte	W24
	.byte		        Cn2 
	.byte	W24
	.byte		        Cn1 
	.byte	W24
	.byte		N18   , Gn1 
	.byte	W18
	.byte		N03   , Fn1 
	.byte	W03
	.byte		        En1 
	.byte	W03
	.byte	PEND
@ 018   ----------------------------------------
frlgmbattlb_1_018:
	.byte		N24   , Ds1 , v116
	.byte	W24
	.byte		N12   , As1 
	.byte	W12
	.byte		N18   , Ds1 
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		N03   , As1 
	.byte	W12
	.byte		N12   , Cn1 
	.byte	W12
	.byte	PEND
@ 019   ----------------------------------------
frlgmbattlb_1_019:
	.byte		N12   , Ds2 , v116
	.byte	W12
	.byte		N06   , Gn1 
	.byte	W12
	.byte		N12   , As1 
	.byte	W12
	.byte		N06   , Ds2 
	.byte	W12
	.byte		        Ds1 
	.byte	W06
	.byte		        Gn1 
	.byte	W06
	.byte		        An1 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		N12   , Ds2 
	.byte	W12
	.byte		        Cs2 
	.byte	W12
	.byte	PEND
@ 020   ----------------------------------------
frlgmbattlb_1_020:
	.byte		N12   , An1 , v116
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N06   , Dn1 
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte		N06   , An1 
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte	PEND
@ 021   ----------------------------------------
frlgmbattlb_1_021:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		N06   , Cs2 
	.byte	W06
	.byte		        Dn2 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		        Cn2 
	.byte	W06
	.byte		        An1 
	.byte	W06
	.byte		        Gs1 
	.byte	W06
	.byte		        Gn1 
	.byte	W06
	.byte		        Fs1 
	.byte	W06
	.byte	PEND
@ 022   ----------------------------------------
frlgmbattlb_1_022:
	.byte		N06   , Cn1 , v116
	.byte	W12
	.byte		N12   
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		N18   , Cn1 
	.byte	W24
	.byte		N06   
	.byte	W12
	.byte	PEND
@ 023   ----------------------------------------
frlgmbattlb_1_023:
	.byte		N12   , Cn1 , v116
	.byte	W24
	.byte		N06   
	.byte	W12
	.byte		N03   
	.byte	W06
	.byte		N03   
	.byte	W06
	.byte		N44   , Cn2 
	.byte	W11
	.byte		BEND  , c_v-2
	.byte	W01
	.byte		        c_v-6
	.byte	W02
	.byte		        c_v-7
	.byte	W01
	.byte		        c_v-10
	.byte	W02
	.byte		        c_v-12
	.byte	W01
	.byte		        c_v-17
	.byte	W02
	.byte		        c_v-19
	.byte	W01
	.byte		        c_v-23
	.byte	W02
	.byte		        c_v-25
	.byte	W01
	.byte		        c_v-31
	.byte	W02
	.byte		        c_v-32
	.byte	W01
	.byte		        c_v-35
	.byte	W02
	.byte		        c_v-37
	.byte	W01
	.byte		        c_v-42
	.byte	W02
	.byte		        c_v-43
	.byte	W01
	.byte		        c_v-47
	.byte	W02
	.byte		        c_v-51
	.byte	W01
	.byte		        c_v-64
	.byte	W11
	.byte		        c_v-52
	.byte	W01
	.byte	PEND
@ 024   ----------------------------------------
frlgmbattlb_1_024:
	.byte		BEND  , c_v+0
	.byte		N24   , An1 , v116
	.byte	W24
	.byte		N06   , Fs1 
	.byte	W12
	.byte		        An1 
	.byte	W06
	.byte		        Bn1 
	.byte	W06
	.byte		N12   , Dn2 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Fs1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 025   ----------------------------------------
frlgmbattlb_1_025:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W24
	.byte		N32   
	.byte	W11
	.byte		BEND  , c_v-2
	.byte	W01
	.byte		        c_v-6
	.byte	W05
	.byte		        c_v-7
	.byte	W01
	.byte		        c_v-10
	.byte	W02
	.byte		        c_v-11
	.byte	W01
	.byte		        c_v-15
	.byte	W02
	.byte		        c_v-16
	.byte	W01
	.byte		        c_v-20
	.byte	W02
	.byte		        c_v-22
	.byte	W01
	.byte		        c_v-28
	.byte	W02
	.byte		        c_v-29
	.byte	W01
	.byte		        c_v-32
	.byte	W02
	.byte		        c_v-34
	.byte	W01
	.byte		        c_v-39
	.byte	W02
	.byte		        c_v-32
	.byte	W01
	.byte		        c_v+0
	.byte	W12
	.byte		N12   
	.byte	W12
	.byte	PEND
@ 026   ----------------------------------------
frlgmbattlb_1_026:
	.byte		N12   , Cn2 , v116
	.byte	W36
	.byte		N03   
	.byte	W06
	.byte		N03   
	.byte	W06
	.byte		N44   , Gn1 
	.byte	W11
	.byte		BEND  , c_v-2
	.byte	W01
	.byte		        c_v-6
	.byte	W02
	.byte		        c_v-7
	.byte	W01
	.byte		        c_v-10
	.byte	W02
	.byte		        c_v-12
	.byte	W01
	.byte		        c_v-17
	.byte	W02
	.byte		        c_v-19
	.byte	W01
	.byte		        c_v-23
	.byte	W02
	.byte		        c_v-25
	.byte	W01
	.byte		        c_v-31
	.byte	W02
	.byte		        c_v-32
	.byte	W01
	.byte		        c_v-35
	.byte	W02
	.byte		        c_v-37
	.byte	W01
	.byte		        c_v-42
	.byte	W02
	.byte		        c_v-43
	.byte	W01
	.byte		        c_v-47
	.byte	W02
	.byte		        c_v-51
	.byte	W01
	.byte		        c_v-64
	.byte	W11
	.byte		        c_v-52
	.byte	W01
	.byte	PEND
@ 027   ----------------------------------------
frlgmbattlb_1_027:
	.byte		BEND  , c_v+0
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        Dn2 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        Cn2 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        Bn1 
	.byte	W12
	.byte		        Fs1 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte	PEND
@ 028   ----------------------------------------
frlgmbattlb_1_028:
	.byte		N12   , Dn1 , v116
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        Gn1 
	.byte	W12
	.byte		        Dn1 
	.byte	W12
	.byte		        Fs1 
	.byte	W12
	.byte		        Gs1 
	.byte	W12
	.byte		        An1 
	.byte	W12
	.byte	PEND
@ 029   ----------------------------------------
frlgmbattlb_1_029:
	.byte		N12   , Dn2 , v116
	.byte	W12
	.byte		N06   , An1 
	.byte	W12
	.byte		N12   , Fs1 
	.byte	W12
	.byte		N06   , An1 
	.byte	W12
	.byte		        Cn2 
	.byte	W06
	.byte		        Dn2 
	.byte	W06
	.byte		        An1 
	.byte	W06
	.byte		        As1 
	.byte	W06
	.byte		        Fs1 
	.byte	W06
	.byte		        Fn1 
	.byte	W06
	.byte		        En1 
	.byte	W06
	.byte		        Ds1 
	.byte	W06
	.byte	PEND
@ 030   ----------------------------------------
frlgmbattlb_1_030:
	.byte		N28   , Dn1 , v116
	.byte	W36
	.byte		N06   
	.byte	W24
	.byte		N24   
	.byte	W36
	.byte	PEND
@ 031   ----------------------------------------
frlgmbattlb_1_031:
	.byte		N12   , Cs2 , v116
	.byte	W12
	.byte		N24   , Dn2 
	.byte	W24
	.byte		N18   , Dn1 
	.byte	W24
	.byte		N06   
	.byte	W24
	.byte		N06   
	.byte	W12
	.byte	PEND
@ 032   ----------------------------------------
frlgmbattlb_1_032:
	.byte		N24   , Ds1 , v116
	.byte	W24
	.byte		N12   , Ds2 
	.byte	W12
	.byte		N18   , Ds1 
	.byte	W24
	.byte		N12   
	.byte	W12
	.byte		N24   , Ds2 
	.byte	W24
	.byte	PEND
@ 033   ----------------------------------------
	.byte		N12   , Dn2 
	.byte	W12
	.byte		        Ds2 
	.byte	W36
	.byte		        As1 
	.byte	W12
	.byte		N06   , Cn2 
	.byte	W12
	.byte		N12   , Gn1 
	.byte	W12
	.byte		N06   , As1 
	.byte	W12
@ 034   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_010
@ 035   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_011
@ 036   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_012
@ 037   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_013
@ 038   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_014
@ 039   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_015
@ 040   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_016
@ 041   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_017
@ 042   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_018
@ 043   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_019
@ 044   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_020
@ 045   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_021
@ 046   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_022
@ 047   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_023
@ 048   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_024
@ 049   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_025
@ 050   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_026
@ 051   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_027
@ 052   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_028
@ 053   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_029
@ 054   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_030
@ 055   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_031
@ 056   ----------------------------------------
	.byte	PATT
	 .word	frlgmbattlb_1_032
@ 057   ----------------------------------------
	.byte		N12   , Dn2 , v116
	.byte	W12
	.byte		        Ds2 
	.byte	W36
	.byte		        As1 
	.byte	W12
	.byte		N06   , Cn2 
	.byte	W12
	.byte		N12   , Gn1 
	.byte	W12
	.byte		N06   , As1 
	.byte	W06
	.byte GOTO
	.word frlgmbattlb_1_loop 
@ 058   ----------------------------------------
	.byte	FINE

@******************************************************@
	.align	2

frlgmbattlb:
	.byte	1	@ NumTrks
	.byte	0	@ NumBlks
	.byte	frlgmbattlb_pri	@ Priority
	.byte	frlgmbattlb_rev	@ Reverb.

	.word	frlgmbattlb_grp

	.word	frlgmbattlb_1

	.end
MULTIPLE TRACK LOOPING

-----------
Now, if you think looping a single-tracked S file is easy, think of looping a multi-tracked S file a bit complicated. Because unlike looping a single-tracked file, looping a multi-tracked file requires that you must loop EACH AND EVERY TRACK inside it. It means that if you looped one track doesn’t mean that the others will loop as well. What makes it more complicated is that not all tracks end with the same number and the same W<xx> values (contrary to what I’ve posted previously). To know more about it, click the file tes.zip in the Attachments part of the thread (thanks to megiddo for the code). Once you’ve extracted it, open the file “tes.txt”. Upon thorough examination of the file, you will notice that some tracks end with “@ 042” measure while others end with “@ 050”. Also, some of the tracks don’t have W<xx> values that equal to 96, the “whole rest” value for a 4/4 metered file (to be explained later on).

In this kind of situation, we must adjust the other tracks to align with the track which has the highest amount of length (in this case the longest track has a measure of @ 050 and has W<xx> values equal to 96).

Code:
@ 042   ----------------------------------------
	.byte		N23   , Cs3 , v064
	.byte	W24
	.byte		        As2 
	.byte	W24
	.byte		        Cn3 
	.byte	W24
	.byte		        Gs2 
	.byte	W23
	.byte	FINE
Let's say this code above (taken from Track 2 of tes.txt) is your track’s last measure. To make this track equal to the longest track in the file, we will add the following code lines:

Code:
@ 043   ----------------------------------------
	.byte	W96
Do so until the track reaches the same length as the longest track. Just like:

Code:
@ 042   ----------------------------------------
	.byte		N23   , Cs3 , v064
	.byte	W24
	.byte		        As2 
	.byte	W24
	.byte		        Cn3 
	.byte	W24
	.byte		        Gs2 
	.byte	W23
@ 043   ----------------------------------------
	.byte	W96
@ 044   ----------------------------------------
	.byte	W96
@ 045   ----------------------------------------
	.byte	W96
@ 046   ----------------------------------------
	.byte	W96
@ 047   ----------------------------------------
	.byte	W96
@ 048   ----------------------------------------
	.byte	W96
@ 049   ----------------------------------------
	.byte	W96
@ 050   ----------------------------------------
	.byte	W96
	.byte	FINE
But we’re not done yet. It may look aligned to the longest track for now, but let’s go back to measure @ 042. If you add the W<xx> values, it would be: 24+24+24+23=95. We must also remember that the measure’s meter is 4/4, which has a W<xx> value of 96. Ignoring this fact may cause crashing at runtime (which we don’t want to happen). To make the W<xx> bytecodes equal to 96, simply change the value of the last W<xx> bytecode to a value that would make them equal to 96. In this code, we will change “.byte W23” to “.byte W24”. You will have a code that looks like:

Code:
@ 042   ----------------------------------------
	.byte		N23   , Cs3 , v064
	.byte	W24
	.byte		        As2 
	.byte	W24
	.byte		        Cn3 
	.byte	W24
	.byte		        Gs2 
	.byte	W24
@ 043   ----------------------------------------
	.byte	W96
@ 044   ----------------------------------------
	.byte	W96
@ 045   ----------------------------------------
	.byte	W96
@ 046   ----------------------------------------
	.byte	W96
@ 047   ----------------------------------------
	.byte	W96
@ 048   ----------------------------------------
	.byte	W96
@ 049   ----------------------------------------
	.byte	W96
@ 050   ----------------------------------------
	.byte	W96
	.byte	FINE

After that, you may start looping the file. Always remember upon looping a multi-tracked S file, you must loop each and every track of the file. Open “tes_r.txt” to see the results.

WHAT’S IN THE W<xx>?

-----------
You may ask “You keep mentioning about this W<xx> and the 4/4 meter stuff, but what exactly is it?”

Actually, here’s the definition for the W<xx> from Sappy 2006’s help file:

Wxx (0x80++)
Wait for the specified number of clock ticks

The value of W<xx> varies on its use, and it adds up to a total of:

96 – for 4/4 metered measure (4 beats per measure/beat value of 4)
72 – for 3/4 metered measure, and
48 – for 3/4 metered measure

In a W96 measure:

96 – whole (note if .byte W96 has N<xx> line before it/rest if none)
48 – half
24 – quarter
12 – half quarter


- Save the file when you're done. The next step is to insert it in Sappy. Follow the help file or Search the Forum for instructions.

NOTES:
  • You may preview the S file using Sappy. Just be warned that it may close the program upon playing the file on the first run. Preview using GBA emulator for safety.
  • If you are about to use a multi-track S file, you may want to shorten the length of your MIDI to a single repetition for easier loop coding.
  • Always check everything about the loop statement (the spelling, location, etc.) to avoid crashes or erroneous loops at runtime. Do so by pressing Ctrl+F, typing the loop label name, and cilck Find Next.
  • You must also refer to the "Event List" of your MIDI software to know where to loop in your S file (e.g. knowing the measure number, the formula is (MIDI measure number)-1).
  • About knowing where to (start and end a) loop, always ask yourself: “Which part of this song do I want to hear over and over again?” and “Which particular measure number does the looping start?” Simple questions that need tough answers, but you’ll be able to push through when you do.
  • Always backup your files.

EXAMPLES:

I have included some reference files and examples below. Use them as guides for music looping.

GOOD LUCK IN YOUR GBA MUSIC LOOPING!!!
hey clonex25 do u have anyother midi files with s file in it? except the new bark and goldenrod
  #50    
Old January 25th, 2009, 09:19 AM
shaqattacks's Avatar
shaqattacks
Beginning Trainer
 
Join Date: Jul 2007
Location: ajax, ontario
Gender: Male
Nature: Quiet
Hey, I get this a little bit now. I didn't successfully loop my song because it didn't go to the place I wanted it to loop and it didn't continue on. I'm going to look more into this. Thanks clonex25!
Edit: Actually this is pretty tough. Can someone tell me what I'm doing wrong?
Spoiler:
.include "MPlayDef.s"

.equ PkmGS-Battle6_grp, voicegroup000
.equ PkmGS-Battle6_pri, 0
.equ PkmGS-Battle6_rev, 0
.equ PkmGS-Battle6_mvl, 127
.equ PkmGS-Battle6_key, 0
.equ PkmGS-Battle6_tbs, 1
.equ PkmGS-Battle6_exg, 0
.equ PkmGS-Battle6_cmp, 1

.section .rodata
.global PkmGS-Battle6
.align 2

@**************** Track 1 (Midi-Chn.1) ****************@

PkmGS-Battle6_1:
.byte KEYSH , PkmGS-Battle6_key+0
@ 000 ----------------------------------------
.byte TEMPO , 196*PkmGS-Battle6_tbs/2
.byte VOICE , 1
.byte VOL , 100*PkmGS-Battle6_mvl/mxv
.byte PAN , c_v+0
.byte N24 , As2 , v100
.byte W06
.byte VOL , 88*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 75*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 63*PkmGS-Battle6_mvl/mxv
.byte W30
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N24
.byte W06
.byte VOL , 88*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 75*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 63*PkmGS-Battle6_mvl/mxv
.byte W30
@ 001 ----------------------------------------
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N24
.byte W06
.byte VOL , 88*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 75*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 63*PkmGS-Battle6_mvl/mxv
.byte W30
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N24
.byte W06
.byte VOL , 88*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 75*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 63*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N24 , Bn2
.byte W24
@ 002 ----------------------------------------
PkmGS-Battle6_1_002:
.byte N12 , As2 , v100
.byte W12
.byte N24
.byte W06
.byte VOL , 88*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 75*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 63*PkmGS-Battle6_mvl/mxv
.byte W18
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W12
.byte N24
.byte W06
.byte VOL , 88*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 75*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 63*PkmGS-Battle6_mvl/mxv
.byte W18
.byte PEND
@ 003 ----------------------------------------
PkmGS-Battle6_1_003:
.byte VOL , 100*PkmGS-Battle6_mvl/mxv
.byte N12 , As2 , v100
.byte W12
.byte N24
.byte W06
.byte VOL , 88*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 75*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 63*PkmGS-Battle6_mvl/mxv
.byte W18
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte PEND
@ 004 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_002
@ 005 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_003
@ 006 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_002
@ 007 ----------------------------------------
.byte VOL , 100*PkmGS-Battle6_mvl/mxv
.byte N12 , As2 , v100
.byte W12
.byte N24
.byte W06
.byte VOL , 88*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 75*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 63*PkmGS-Battle6_mvl/mxv
.byte W18
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W12
.byte N12
.byte W12
.byte N24 , En3
.byte W24
@ 008 ----------------------------------------
PkmGS-Battle6_1_008:
.byte N12 , As2 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte PEND
@ 009 ----------------------------------------
PkmGS-Battle6_1_loop:
PkmGS-Battle6_1_009:
.byte N12 , As2 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , Bn2
.byte W24
.byte PEND
@ 010 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_008
@ 011 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_008
@ 012 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_008
@ 013 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_009
@ 014 ----------------------------------------
.byte N12 , As2 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , En3
.byte W24
@ 015 ----------------------------------------
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , Fs3
.byte W24
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , Gs3
.byte W24
@ 016 ----------------------------------------
PkmGS-Battle6_1_016:
.byte N48 , As3 , v100
.byte W48
.byte As2
.byte W48
.byte PEND
@ 017 ----------------------------------------
.byte N72 , Bn3
.byte W72
.byte N06 , As3
.byte W06
.byte Bn3
.byte W06
.byte Cn4
.byte W06
.byte Cs4
.byte W05
.byte VOICE , 56
.byte W01
@ 018 ----------------------------------------
PkmGS-Battle6_1_018:
.byte N12 , Ds3 , v100
.byte W12
.byte As3
.byte W12
.byte Ds3
.byte W12
.byte N24 , Fs3
.byte W24
.byte N12 , Fn3
.byte W12
.byte En3
.byte W12
.byte Bn3
.byte W12
.byte PEND
@ 019 ----------------------------------------
PkmGS-Battle6_1_019:
.byte N12 , Fs3 , v100
.byte W12
.byte As3
.byte W12
.byte Fn3
.byte W12
.byte An3
.byte W12
.byte En3
.byte W12
.byte Gs3
.byte W12
.byte Ds3
.byte W12
.byte Gn3
.byte W12
.byte PEND
@ 020 ----------------------------------------
PkmGS-Battle6_1_020:
.byte N12 , En3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Fs3
.byte W24
.byte N12 , En3
.byte W12
.byte N12
.byte W12
.byte N24 , Gs3
.byte W24
.byte PEND
@ 021 ----------------------------------------
.byte N12 , En3
.byte W12
.byte N12
.byte W12
.byte N24 , Gs3
.byte W24
.byte N12 , En3
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
@ 022 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_018
@ 023 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_019
@ 024 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_020
@ 025 ----------------------------------------
.byte N12 , En3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
.byte N12 , En3
.byte W12
.byte N12
.byte W12
.byte N24 , En4
.byte W23
.byte VOICE , 56
.byte W01
@ 026 ----------------------------------------
PkmGS-Battle6_1_026:
.byte N12 , As3 , v100
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W18
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W18
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W18
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W06
.byte PEND
@ 027 ----------------------------------------
.byte W12
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W18
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N24 , Bn3
.byte W24
.byte Gs3
.byte W24
@ 028 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_026
@ 029 ----------------------------------------
.byte W12
.byte VOL , 100*PkmGS-Battle6_mvl/mxv
.byte N12 , As3 , v100
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W18
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N12
.byte W06
.byte VOL , 66*PkmGS-Battle6_mvl/mxv
.byte W06
.byte 100*PkmGS-Battle6_mvl/mxv
.byte N24 , Dn4
.byte W24
.byte N24
.byte W24
@ 030 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_016
@ 031 ----------------------------------------
.byte N48 , Fs3 , v100
.byte W48
.byte Fs2
.byte W44
.byte W02
.byte VOICE , 1
.byte W02
@ 032 ----------------------------------------
.byte N96 , Bn2
.byte W96
@ 033 ----------------------------------------
.byte N96
.byte W96
@ 034 ----------------------------------------
.byte Cs3
.byte W96
@ 035 ----------------------------------------
.byte Ds3
.byte W92
.byte W02
.byte VOICE , 48
.byte W02
@ 036 ----------------------------------------
PkmGS-Battle6_1_036:
.byte N24 , Fs4 , v100
.byte W24
.byte Fn4
.byte W24
.byte En4
.byte W24
.byte Ds4
.byte W24
.byte PEND
@ 037 ----------------------------------------
.byte Dn4
.byte W24
.byte Cs4
.byte W24
.byte Fs4
.byte W24
.byte N24
.byte W24
@ 038 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_036
@ 039 ----------------------------------------
.byte N12 , Fs4 , v100
.byte W12
.byte Gs4
.byte W12
.byte Ds4
.byte W12
.byte En4
.byte W12
.byte N24 , Fs4
.byte W24
.byte N24
.byte W24
@ 040 ----------------------------------------
.byte W92
.byte W03
.byte VOICE , 1
.byte W01
@ 041 ----------------------------------------
.byte N48 , Fs3
.byte W48
.byte N24 , En3
.byte W24
.byte N24
.byte W24
@ 042 ----------------------------------------
.byte N96 , Ds3
.byte W96
@ 043 ----------------------------------------
.byte Cs3
.byte W96
@ 044 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_008
@ 045 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_008
@ 046 ----------------------------------------
.byte N12 , Cn3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte N12 , Cn3
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
@ 047 ----------------------------------------
.byte N12 , Cn3
.byte W12
.byte N12
.byte W12
.byte N24 , Fs3
.byte W24
.byte N12 , Cn3
.byte W12
.byte N12
.byte W12
.byte N24 , Gs3
.byte W24
@ 048 ----------------------------------------
PkmGS-Battle6_1_loop:
PkmGS-Battle6_1_048:
.byte N12 , Ds3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , As3
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
.byte PEND
@ 049 ----------------------------------------
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Cs4
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
@ 050 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_1_048
@ 051 ----------------------------------------
.byte N06 , Ds3 , v100
.byte W06
.byte N12
.byte W18
.byte N24 , Cs4
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Dn4
.byte W24
@ 052 ----------------------------------------
.byte W96
.byte GOTO
.word PkmGS-Battle6_1_loop
.byte FINE

@**************** Track 2 (Midi-Chn.2) ****************@

PkmGS-Battle6_2:
.byte KEYSH , PkmGS-Battle6_key+0
@ 000 ----------------------------------------
.byte VOICE , 1
.byte VOL , 80*PkmGS-Battle6_mvl/mxv
.byte PAN , c_v+0
.byte N24 , Ds3 , v100
.byte W48
.byte N24
.byte W48
@ 001 ----------------------------------------
.byte N24
.byte W48
.byte N24
.byte W24
.byte Dn3
.byte W24
@ 002 ----------------------------------------
PkmGS-Battle6_2_002:
.byte N12 , Ds3 , v100
.byte W12
.byte N24
.byte W36
.byte N12
.byte W12
.byte N24
.byte W36
.byte PEND
@ 003 ----------------------------------------
.byte N12
.byte W12
.byte N24
.byte W36
.byte N12
.byte W12
.byte N12
.byte W12
.byte N24 , As3
.byte W24
@ 004 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_002
@ 005 ----------------------------------------
.byte N12 , Ds3 , v100
.byte W12
.byte N24
.byte W36
.byte N12
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
@ 006 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_002
@ 007 ----------------------------------------
.byte N12 , Ds3 , v100
.byte W12
.byte N24
.byte W36
.byte N12
.byte W12
.byte N12
.byte W12
.byte N24 , Cs4
.byte W21
.byte VOICE , 62
.byte W03
@ 008 ----------------------------------------
PkmGS-Battle6_2_008:
.byte N12 , Ds3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , As3
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
.byte PEND
@ 009 ----------------------------------------
PkmGS-Battle6_2_loop:
PkmGS-Battle6_2_009:
.byte N12 , Ds3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , As3
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Dn3
.byte W24
.byte PEND
@ 010 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_008
@ 011 ----------------------------------------
.byte N12 , Ds3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , As3
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Fn3
.byte W24
@ 012 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_008
@ 013 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_009
@ 014 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_008
@ 015 ----------------------------------------
.byte N12 , Ds3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Cn4
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Cs4
.byte W24
@ 016 ----------------------------------------
PkmGS-Battle6_2_016:
.byte N48 , Ds4 , v100
.byte W48
.byte Ds3
.byte W48
.byte PEND
@ 017 ----------------------------------------
.byte En4
.byte W48
.byte N48
.byte W44
.byte W03
.byte VOICE , 29
.byte W01
@ 018 ----------------------------------------
PkmGS-Battle6_2_018:
.byte N36 , Ds4 , v100
.byte W36
.byte As3
.byte W36
.byte N12 , Ds4
.byte W12
.byte Dn4
.byte W12
.byte PEND
@ 019 ----------------------------------------
.byte N24 , Cs4
.byte W24
.byte Cn4
.byte W24
.byte Bn3
.byte W24
.byte As3
.byte W24
@ 020 ----------------------------------------
.byte N48 , Bn3
.byte W48
.byte En4
.byte W44
.byte W02
.byte VOICE , 24
.byte W02
@ 021 ----------------------------------------
.byte N12 , Gs3
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
.byte N12 , Gs3
.byte W12
.byte N12
.byte W12
.byte N24 , Cs4
.byte W23
.byte VOICE , 29
.byte W01
@ 022 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_018
@ 023 ----------------------------------------
.byte N24 , Cs4 , v100
.byte W24
.byte Cn4
.byte W24
.byte Bn3
.byte W24
.byte N12 , As3
.byte W12
.byte Bn3
.byte W12
@ 024 ----------------------------------------
.byte N48 , En4
.byte W48
.byte Gs4
.byte W48
@ 025 ----------------------------------------
.byte En4
.byte W48
.byte Bn4
.byte W44
.byte W03
.byte VOICE , 60
.byte W01
@ 026 ----------------------------------------
PkmGS-Battle6_2_026:
.byte N12 , Ds4 , v100
.byte W12
.byte N12
.byte W24
.byte N12
.byte W24
.byte N12
.byte W24
.byte N12
.byte W12
.byte PEND
@ 027 ----------------------------------------
.byte W12
.byte N12
.byte W24
.byte N12
.byte W12
.byte N24 , En4
.byte W24
.byte N24
.byte W24
@ 028 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_026
@ 029 ----------------------------------------
.byte W12
.byte N12 , Ds4 , v100
.byte W24
.byte N12
.byte W12
.byte N24 , Fs4
.byte W24
.byte N24
.byte W24
@ 030 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_016
@ 031 ----------------------------------------
.byte N48 , Cs4 , v100
.byte W48
.byte Cs3
.byte W44
.byte W02
.byte VOICE , 24
.byte W02
@ 032 ----------------------------------------
.byte TIE , Ds3
.byte W96
@ 033 ----------------------------------------
.byte W96
.byte EOT
@ 034 ----------------------------------------
.byte N96 , Fn3
.byte W96
@ 035 ----------------------------------------
.byte Fs3
.byte W92
.byte W02
.byte VOICE , 62
.byte W02
@ 036 ----------------------------------------
PkmGS-Battle6_2_036:
.byte N24 , Ds5 , v100
.byte W24
.byte Dn5
.byte W24
.byte Cs5
.byte W24
.byte Cn5
.byte W24
.byte PEND
@ 037 ----------------------------------------
.byte N12 , Ds5
.byte W12
.byte Dn5
.byte W12
.byte Cs5
.byte W12
.byte Cn5
.byte W12
.byte N24 , Bn4
.byte W24
.byte N24
.byte W24
@ 038 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_036
@ 039 ----------------------------------------
.byte N12 , Ds5 , v100
.byte W12
.byte Dn5
.byte W12
.byte Cs5
.byte W12
.byte Cn5
.byte W12
.byte N24 , Bn4
.byte W24
.byte N24
.byte W23
.byte VOICE , 1
.byte W01
@ 040 ----------------------------------------
.byte N96 , Ds3
.byte W96
@ 041 ----------------------------------------
.byte Bn3
.byte W96
@ 042 ----------------------------------------
.byte As3
.byte W96
@ 043 ----------------------------------------
.byte Gs3
.byte W96
@ 044 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_008
@ 045 ----------------------------------------
.byte N12 , Ds3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , As3
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , An3
.byte W24
@ 046 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_008
@ 047 ----------------------------------------
.byte N12 , Ds3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Cs4
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Dn4
.byte W23
.byte VOICE , 60
.byte W01
@ 048 ----------------------------------------
PkmGS-Battle6_2_048:
.byte N48 , Ds4 , v100
.byte W48
.byte En4
.byte W48
.byte PEND
@ 049 ----------------------------------------
.byte Fs4
.byte W48
.byte En4
.byte W48
@ 050 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_2_048
@ 051 ----------------------------------------
.byte N48 , Fs4 , v100
.byte W48
.byte Gs4
.byte W48
@ 052 ----------------------------------------
.byte W96
.byte GOTO
.word PkmGS-Battle6_2_loop
.byte FINE

@**************** Track 3 (Midi-Chn.3) ****************@

PkmGS-Battle6_3:
.byte KEYSH , PkmGS-Battle6_key+0
@ 000 ----------------------------------------
.byte VOICE , 48
.byte VOL , 59*PkmGS-Battle6_mvl/mxv
.byte PAN , c_v+0
.byte N06 , Ds2 , v100
.byte W48
.byte N06
.byte W48
@ 001 ----------------------------------------
.byte N06
.byte W48
.byte N06
.byte W24
.byte N24 , En2
.byte W24
@ 002 ----------------------------------------
PkmGS-Battle6_3_002:
.byte N06 , Ds2 , v100
.byte W12
.byte N06
.byte W36
.byte N06
.byte W12
.byte N06
.byte W36
.byte PEND
@ 003 ----------------------------------------
PkmGS-Battle6_3_003:
.byte N06 , Ds2 , v100
.byte W12
.byte N06
.byte W36
.byte N06
.byte W12
.byte N06
.byte W12
.byte N24 , Bn2
.byte W24
.byte PEND
@ 004 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_002
@ 005 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_003
@ 006 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_002
@ 007 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_003
@ 008 ----------------------------------------
PkmGS-Battle6_3_008:
.byte N06 , Ds2 , v100
.byte W12
.byte N06
.byte W12
.byte N24 , As2
.byte W24
.byte N06 , Ds2
.byte W12
.byte N06
.byte W12
.byte N24 , Bn2
.byte W24
.byte PEND
@ 009 ----------------------------------------
PkmGS-Battle6_3_loop:
PkmGS-Battle6_3_009:
.byte N06 , Ds2 , v100
.byte W12
.byte N06
.byte W12
.byte N24 , As2
.byte W24
.byte N06 , Ds2
.byte W12
.byte N06
.byte W12
.byte N24 , Dn2
.byte W24
.byte PEND
@ 010 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_008
@ 011 ----------------------------------------
.byte N06 , Ds2 , v100
.byte W12
.byte N06
.byte W12
.byte N24 , As2
.byte W24
.byte N06 , Ds2
.byte W12
.byte N06
.byte W12
.byte N24 , Gs2
.byte W24
@ 012 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_008
@ 013 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_009
@ 014 ----------------------------------------
.byte N06 , Ds2 , v100
.byte W12
.byte N06
.byte W12
.byte N24 , As2
.byte W24
.byte N06 , Ds2
.byte W12
.byte N06
.byte W12
.byte N24 , As2
.byte W24
@ 015 ----------------------------------------
.byte N06 , Ds2
.byte W12
.byte N06
.byte W12
.byte N24 , Bn2
.byte W24
.byte N06 , Ds2
.byte W12
.byte N06
.byte W12
.byte N24 , Cs3
.byte W22
.byte VOICE , 53
.byte W02
@ 016 ----------------------------------------
.byte N48 , Ds3
.byte W48
.byte Ds2
.byte W48
@ 017 ----------------------------------------
.byte N24 , Bn2
.byte W22
.byte VOICE , 48
.byte W02
.byte N12 , Gn2
.byte W12
.byte Bn2
.byte W12
.byte Fs2
.byte W12
.byte As2
.byte W12
.byte Fn2
.byte W12
.byte An2
.byte W12
@ 018 ----------------------------------------
PkmGS-Battle6_3_018:
.byte N12 , Ds2 , v100
.byte W12
.byte As2
.byte W12
.byte Ds2
.byte W12
.byte As2
.byte W12
.byte Ds2
.byte W12
.byte As2
.byte W12
.byte Ds2
.byte W12
.byte As2
.byte W12
.byte PEND
@ 019 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_018
@ 020 ----------------------------------------
PkmGS-Battle6_3_020:
.byte N12 , En2 , v100
.byte W12
.byte Bn2
.byte W12
.byte En2
.byte W12
.byte Bn2
.byte W12
.byte En2
.byte W12
.byte Bn2
.byte W12
.byte En2
.byte W12
.byte Bn2
.byte W12
.byte PEND
@ 021 ----------------------------------------
.byte En2
.byte W12
.byte Bn2
.byte W12
.byte En2
.byte W12
.byte Cn3
.byte W12
.byte An2
.byte W12
.byte Bn2
.byte W12
.byte Gn2
.byte W12
.byte An2
.byte W12
@ 022 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_018
@ 023 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_018
@ 024 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_020
@ 025 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_020
@ 026 ----------------------------------------
PkmGS-Battle6_3_026:
.byte N12 , Ds2 , v100
.byte W12
.byte Fs2
.byte W12
.byte Ds2
.byte W12
.byte Fs2
.byte W12
.byte Ds2
.byte W12
.byte Dn3
.byte W12
.byte Cs3
.byte W12
.byte Cn3
.byte W12
.byte PEND
@ 027 ----------------------------------------
.byte Ds2
.byte W12
.byte En2
.byte W12
.byte Ds2
.byte W12
.byte En2
.byte W12
.byte Ds2
.byte W12
.byte Dn3
.byte W12
.byte Cs3
.byte W12
.byte Cn3
.byte W12
@ 028 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_026
@ 029 ----------------------------------------
.byte N12 , Ds2 , v100
.byte W12
.byte As2
.byte W12
.byte Ds2
.byte W12
.byte As2
.byte W12
.byte Ds2
.byte W12
.byte Dn3
.byte W12
.byte Cs3
.byte W12
.byte Cn3
.byte W11
.byte VOICE , 53
.byte W01
@ 030 ----------------------------------------
.byte N48 , As2
.byte W48
.byte Ds2
.byte W48
@ 031 ----------------------------------------
.byte Bn2
.byte W48
.byte Ds2
.byte W48
@ 032 ----------------------------------------
PkmGS-Battle6_3_032:
.byte N12 , Ds2 , v100
.byte W12
.byte Fs2
.byte W12
.byte Ds2
.byte W12
.byte Fs2
.byte W12
.byte Ds2
.byte W12
.byte Fs2
.byte W12
.byte Ds2
.byte W12
.byte Fs2
.byte W12
.byte PEND
@ 033 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_032
@ 034 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_032
@ 035 ----------------------------------------
.byte N12 , Ds2 , v100
.byte W12
.byte Fs2
.byte W12
.byte Ds2
.byte W12
.byte Fs2
.byte W12
.byte Ds2
.byte W12
.byte Fs2
.byte W12
.byte Ds2
.byte W12
.byte Fs2
.byte W10
.byte VOICE , 48
.byte W02
@ 036 ----------------------------------------
PkmGS-Battle6_3_036:
.byte N12 , En2 , v100
.byte W12
.byte Bn2
.byte W12
.byte En2
.byte W12
.byte Bn2
.byte W12
.byte En2
.byte W12
.byte Bn2
.byte W12
.byte Ds3
.byte W12
.byte En3
.byte W12
.byte PEND
@ 037 ----------------------------------------
.byte En2
.byte W12
.byte Bn2
.byte W12
.byte Ds3
.byte W12
.byte En3
.byte W12
.byte Fs3
.byte W12
.byte Bn2
.byte W12
.byte Ds3
.byte W12
.byte En3
.byte W12
@ 038 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_036
@ 039 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_020
@ 040 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_018
@ 041 ----------------------------------------
.byte N12 , Ds2 , v100
.byte W12
.byte As2
.byte W12
.byte Bn2
.byte W12
.byte En3
.byte W12
.byte N06 , Ds2
.byte W24
.byte N06
.byte W24
@ 042 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_020
@ 043 ----------------------------------------
.byte N12 , En2 , v100
.byte W12
.byte Bn2
.byte W12
.byte Cs3
.byte W12
.byte En3
.byte W12
.byte N06 , En2
.byte W24
.byte N06
.byte W24
@ 044 ----------------------------------------
PkmGS-Battle6_3_044:
.byte N12 , Ds2 , v100
.byte W12
.byte Gs2
.byte W12
.byte Ds2
.byte W12
.byte Gs2
.byte W12
.byte Ds2
.byte W12
.byte Gs2
.byte W12
.byte Ds2
.byte W12
.byte Gs2
.byte W12
.byte PEND
@ 045 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_044
@ 046 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_018
@ 047 ----------------------------------------
.byte N12 , Ds2 , v100
.byte W12
.byte As2
.byte W12
.byte Ds2
.byte W12
.byte As2
.byte W12
.byte Ds2
.byte W12
.byte As2
.byte W12
.byte Bn2
.byte W12
.byte As2
.byte W11
.byte VOICE , 53
.byte W01
@ 048 ----------------------------------------
PkmGS-Battle6_3_048:
.byte N12 , Ds2 , v100
.byte W12
.byte As2
.byte W12
.byte Dn3
.byte W12
.byte Ds3
.byte W12
.byte Ds2
.byte W12
.byte As2
.byte W12
.byte Dn3
.byte W12
.byte Ds3
.byte W12
.byte PEND
@ 049 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_048
@ 050 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_3_048
@ 051 ----------------------------------------
.byte N12 , Ds2 , v100
.byte W12
.byte As2
.byte W12
.byte Dn3
.byte W12
.byte Ds3
.byte W12
.byte Cs3
.byte W12
.byte Bn2
.byte W12
.byte As2
.byte W12
.byte Gs2
.byte W12
@ 052 ----------------------------------------
.byte W96
.byte GOTO
.word PkmGS-Battle6_3_loop
.byte FINE

@**************** Track 4 (Midi-Chn.4) ****************@

PkmGS-Battle6_4:
.byte KEYSH , PkmGS-Battle6_key+0
@ 000 ----------------------------------------
.byte VOICE , 81
.byte VOL , 34*PkmGS-Battle6_mvl/mxv
.byte PAN , c_v+0
.byte N24 , As2 , v100
.byte W48
.byte N24
.byte W48
@ 001 ----------------------------------------
.byte N24
.byte W48
.byte N24
.byte W24
.byte Bn2
.byte W24
@ 002 ----------------------------------------
PkmGS-Battle6_4_002:
.byte N12 , As2 , v100
.byte W12
.byte N24
.byte W36
.byte N12
.byte W12
.byte N24
.byte W36
.byte PEND
@ 003 ----------------------------------------
PkmGS-Battle6_4_003:
.byte N12 , As2 , v100
.byte W12
.byte N24
.byte W36
.byte N12
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte PEND
@ 004 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_002
@ 005 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_003
@ 006 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_002
@ 007 ----------------------------------------
.byte N12 , As2 , v100
.byte W12
.byte N24
.byte W36
.byte N12
.byte W12
.byte N12
.byte W12
.byte N24 , En3
.byte W24
@ 008 ----------------------------------------
PkmGS-Battle6_4_008:
.byte N12 , As2 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte PEND
@ 009 ----------------------------------------
PkmGS-Battle6_4_loop:
PkmGS-Battle6_4_009:
.byte N12 , As2 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , Bn2
.byte W24
.byte PEND
@ 010 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_008
@ 011 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_008
@ 012 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_008
@ 013 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_009
@ 014 ----------------------------------------
.byte N12 , As2 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , En3
.byte W24
@ 015 ----------------------------------------
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , Fs3
.byte W24
.byte N12 , As2
.byte W12
.byte N12
.byte W12
.byte N24 , Gs3
.byte W24
@ 016 ----------------------------------------
PkmGS-Battle6_4_016:
.byte N48 , As3 , v100
.byte W48
.byte As2
.byte W48
.byte PEND
@ 017 ----------------------------------------
.byte N72 , Bn3
.byte W72
.byte N06 , As3
.byte W06
.byte Bn3
.byte W06
.byte Cn4
.byte W06
.byte Cs4
.byte W06
@ 018 ----------------------------------------
PkmGS-Battle6_4_018:
.byte N12 , Ds3 , v100
.byte W12
.byte As3
.byte W12
.byte Ds3
.byte W12
.byte N24 , Fs3
.byte W24
.byte N12 , Fn3
.byte W12
.byte En3
.byte W12
.byte Bn3
.byte W12
.byte PEND
@ 019 ----------------------------------------
PkmGS-Battle6_4_019:
.byte N12 , Fs3 , v100
.byte W12
.byte As3
.byte W12
.byte Fn3
.byte W12
.byte An3
.byte W12
.byte En3
.byte W12
.byte Gs3
.byte W12
.byte Ds3
.byte W12
.byte Gn3
.byte W12
.byte PEND
@ 020 ----------------------------------------
PkmGS-Battle6_4_020:
.byte N12 , En3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Fs3
.byte W24
.byte N12 , En3
.byte W12
.byte N12
.byte W12
.byte N24 , Gs3
.byte W24
.byte PEND
@ 021 ----------------------------------------
.byte N12 , En3
.byte W12
.byte N12
.byte W12
.byte N24 , Gs3
.byte W24
.byte N12 , En3
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
@ 022 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_018
@ 023 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_019
@ 024 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_020
@ 025 ----------------------------------------
.byte N12 , En3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
.byte N12 , En3
.byte W12
.byte N12
.byte W12
.byte N24 , En4
.byte W24
@ 026 ----------------------------------------
PkmGS-Battle6_4_026:
.byte N12 , As3 , v100
.byte W12
.byte N12
.byte W24
.byte N12
.byte W24
.byte N12
.byte W24
.byte N12
.byte W12
.byte PEND
@ 027 ----------------------------------------
.byte W12
.byte N12
.byte W24
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
.byte Gs3
.byte W24
@ 028 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_026
@ 029 ----------------------------------------
.byte W12
.byte N12 , As3 , v100
.byte W24
.byte N12
.byte W12
.byte N24 , Dn4
.byte W24
.byte N24
.byte W24
@ 030 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_016
@ 031 ----------------------------------------
.byte N48 , Fs3 , v100
.byte W48
.byte Fs2
.byte W48
@ 032 ----------------------------------------
.byte N96 , Bn2
.byte W96
@ 033 ----------------------------------------
.byte N96
.byte W96
@ 034 ----------------------------------------
.byte Cs3
.byte W96
@ 035 ----------------------------------------
.byte Ds3
.byte W96
@ 036 ----------------------------------------
PkmGS-Battle6_4_036:
.byte N24 , Fs4 , v100
.byte W24
.byte Fn4
.byte W24
.byte En4
.byte W24
.byte Ds4
.byte W24
.byte PEND
@ 037 ----------------------------------------
.byte Dn4
.byte W24
.byte Cs4
.byte W24
.byte Fs4
.byte W24
.byte N24
.byte W24
@ 038 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_036
@ 039 ----------------------------------------
.byte N12 , Fs4 , v100
.byte W12
.byte Gs4
.byte W12
.byte Ds4
.byte W12
.byte En4
.byte W12
.byte N24 , Fs4
.byte W24
.byte N24
.byte W24
@ 040 ----------------------------------------
.byte W96
@ 041 ----------------------------------------
.byte N48 , Fs3
.byte W48
.byte N24 , En3
.byte W24
.byte N24
.byte W24
@ 042 ----------------------------------------
.byte N96 , Ds3
.byte W96
@ 043 ----------------------------------------
.byte Cs3
.byte W96
@ 044 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_008
@ 045 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_008
@ 046 ----------------------------------------
.byte N12 , Cn3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
.byte N12 , Cn3
.byte W12
.byte N12
.byte W12
.byte N24 , Ds3
.byte W24
@ 047 ----------------------------------------
.byte N12 , Cn3
.byte W12
.byte N12
.byte W12
.byte N24 , Fs3
.byte W24
.byte N12 , Cn3
.byte W12
.byte N12
.byte W12
.byte N24 , Gs3
.byte W24
@ 048 ----------------------------------------
PkmGS-Battle6_4_048:
.byte N12 , Ds3 , v100
.byte W12
.byte N12
.byte W12
.byte N24 , As3
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
.byte PEND
@ 049 ----------------------------------------
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Cs4
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Bn3
.byte W24
@ 050 ----------------------------------------
.byte PATT
.word PkmGS-Battle6_4_048
@ 051 ----------------------------------------
.byte N06 , Ds3 , v100
.byte W06
.byte N06
.byte W18
.byte N24 , Cs4
.byte W24
.byte N12 , Ds3
.byte W12
.byte N12
.byte W12
.byte N24 , Dn4
.byte W24
.byte GOTO
.word PkmGS-Battle6_4_loop
@ 052 ----------------------------------------
.byte W96
.byte GOTO
.word PkmGS-Battle6_4_loop
.byte FINE

@**************** Track 5 (Midi-Chn.5) ****************@

PkmGS-Battle6_5:
.byte KEYSH , PkmGS-Battle6_key+0
@ 000 ----------------------------------------
.byte VOICE , 126
.byte VOL , 59*PkmGS-Battle6_mvl/mxv
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W48
.byte N48 , As6 , v064
.byte W48
@ 008 ----------------------------------------
.byte W96
@ 009 ----------------------------------------
.byte W96
@ 010 ----------------------------------------
.byte W96
@ 011 ----------------------------------------
.byte W96
@ 012 ----------------------------------------
.byte W96
@ 013 ----------------------------------------
.byte W96
@ 014 ----------------------------------------
.byte W96
@ 015 ----------------------------------------
.byte W96
@ 016 ----------------------------------------
.byte W96
@ 017 ----------------------------------------
.byte W48
.byte N48
.byte W48
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W48
.byte Cs7
.byte W48
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte W96
@ 028 ----------------------------------------
.byte W96
@ 029 ----------------------------------------
.byte W96
@ 030 ----------------------------------------
.byte W96
@ 031 ----------------------------------------
.byte W48
.byte N48
.byte W48
@ 032 ----------------------------------------
.byte W96
@ 033 ----------------------------------------
.byte W96
@ 034 ----------------------------------------
.byte W96
@ 035 ----------------------------------------
.byte W48
.byte N48
.byte W48
@ 036 ----------------------------------------
.byte W96
@ 037 ----------------------------------------
.byte W96
@ 038 ----------------------------------------
.byte W96
@ 039 ----------------------------------------
.byte W96
@ 040 ----------------------------------------
.byte W96
@ 041 ----------------------------------------
.byte W96
@ 042 ----------------------------------------
.byte W96
@ 043 ----------------------------------------
.byte W96
@ 044 ----------------------------------------
.byte W96
@ 045 ----------------------------------------
.byte W96
@ 046 ----------------------------------------
.byte W96
@ 047 ----------------------------------------
.byte W48
.byte N48
.byte W48
@ 048 ----------------------------------------
.byte W96
@ 049 ----------------------------------------
.byte W96
@ 050 ----------------------------------------
.byte W96
@ 051 ----------------------------------------
.byte W48
.byte Ds7
.byte W48
@ 052 ----------------------------------------
.byte FINE

@******************************************************@
.align 2

PkmGS-Battle6:
.byte 5 @ NumTrks
.byte 0 @ NumBlks
.byte PkmGS-Battle6_pri @ Priority
.byte PkmGS-Battle6_rev @ Reverb.

.word PkmGS-Battle6_grp

.word PkmGS-Battle6_1
.word PkmGS-Battle6_2
.word PkmGS-Battle6_3
.word PkmGS-Battle6_4
.word PkmGS-Battle6_5

.end
__________________
Watch some of my gba music hacks.

Last edited by shaqattacks; January 25th, 2009 at 11:27 AM.
Closed Thread
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 03:55 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.