Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Reload this Page [ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

Notices
For all updates, view the main page.

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.



Closed Thread
 
Thread Tools
  #22476    
Old August 14th, 2012 (11:39 AM).
Banjora Marxvile's Avatar
Banjora Marxvile
Oui Oui Si Si Ja Ja Da Da
 
Join Date: May 2008
Age: 21
Gender: Male
Nature: Lonely
Quote originally posted by Ash493:

I see... well I kinda thought they could try to do it for Ruby as well...
They might, but I think that it is unknown as to when it is ready. I'm unsure as to whether the Pokedex's are the same, but all I know is - no one is at the moment doing anything for Ruby involving 649 Pokemon, only Firered has been confirmed.
__________________

Man of Steel
He harbors no shame
Got cut a raw deal
But he holds no blame
Gone and forgot to feel
Numb for pretentious pain
As he spins the wheel
There's no loss nor no gain...


Nerves o
f Steel
He must remain
Even if it kills
To remember my name
A view to a thrill
Like Campari and Champagne
I'm on the rocks
Please tell me, What Is My Name?

  #22477    
Old August 14th, 2012 (01:38 PM).
Meowing Mewtwo's Avatar
Meowing Mewtwo
 
Join Date: Aug 2012
Location: California
Gender: Other
Nature: Serious
What is the script for "Would you like to give a nickname to this [Pokemon]?"

Thanks,
Meowing Mewtwo :cer_boogie:
__________________
This account is dead and has been for a long time.
I did, however, remake it on August 09, 2014. You can find my new location here.
  #22478    
Old August 14th, 2012 (02:26 PM).
Fahreza's Avatar
Fahreza
 
Join Date: Sep 2010
Location: Cidamar, Bandung
Gender: Male
Nature: Timid
Please Give Me Solution. I Was Download NSE from Pokecommunity. I Test NSE Not work. whereas I'd Install Net Framework 3.5 SP1 with all. YAPE also not Work. Please Give Me Solution. My Laptop type is cen aur with centrine duo processor. Microsoft Windows XP SP 3
  #22479    
Old August 14th, 2012 (02:28 PM).
Jambo51's Avatar
Jambo51
Glory To Arstotzka
 
Join Date: Jun 2009
Gender: Male
Nature: Quiet
Quote originally posted by Ash493:

I see... well I kinda thought they could try to do it for Ruby as well...
Ruby is not impossible to do, but it is highly impractical. In FireRed and Emerald, the Pokédex's memory space is allocated by a Malloc, which you pass the length needed, and it automatically assigns enough memory for the length you need. All the reads/writes to it are calculated by using the Malloc, meaning it automatically reads/writes to the correct places.

In Ruby, the Pokédex has a set memory location. All the data which is required for the dex to run is placed after the end of the Pokémon data, which is precisely long enough for 386 species. In order to extend the dex, you need to manually repoint every reference to the Dex data which follows the Pokémon data.

Do you see why this is impractical? It may be possible, but it's extremely difficult to get every single pointer.

When I had a look at it for Chaos Rush, I found some 30 or so pointers (and even then, it still didn't work!)
__________________
Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
  #22480    
Old August 14th, 2012 (02:53 PM). Edited August 14th, 2012 by Zezariz.
Zezariz
Beginning Trainer
 
Join Date: Aug 2012
Gender: Male
I have two quick questions.

1 I have been trying edit the back sprites of the emerald male hero to make it look like Red (from FR) I've found them in Tile Molester (00D6F980 in case anyone wants to avoid the 9 hours of searching the web that it took me to find it). But to my horror after shifting them around and editing them, the changes don't stick when put into game. Any advice? I've spent hours trying to change this... its infuriating -.-

2 I I've taken the sprites and palettes from FR and placed them into emerald using Overworld Editor Re. However i noticed a little graphical glitch where the right eye on the character is bigger than the other. I've checked my sprites they shouldn't look like that. any ideas?

===========================================================================================================
Pokemon Emerald Back Sprites

Just leaving a trail for any Newbs (like myself ) to follow in case they are trying to edit the back sprites for Emerald
it was a nightmare trying to find this information

In TMA the offset to locate the sprite for Brendan was 00d66480
and the palette in APE is 00D61A30
I followed this thread (revived this morning lucky me )
[Graphics] How To Edit the Backsprite of Pokemon Fire Red (Picture AND Palette)
sorry cant use hyper links yet just search the tutorial forums. it is for FR, however it will work with Emerald good luck guys! Happy hacking!
  #22481    
Old August 14th, 2012 (03:39 PM).
MrSandman64's Avatar
MrSandman64
Pokemon Moon Creator
 
Join Date: Jul 2012
Location: Massachusetts
Gender: Male
can someone help?
I just correctly inserted my hack's intro sprites (professor, hero, and rival)
and it worked fine except after i give the rival a name it distorts the sprite's colors.
I also inserted the rival's overworld sprite and it apears in the actual game but it diddnt chang the spite that appears when you are naming the rival (the walking OW sprite).
Can anyone tell me how i can fix this?
  #22482    
Old August 14th, 2012 (10:30 PM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Quote originally posted by Jambo51:
Ruby is not impossible to do, but it is highly impractical. In FireRed and Emerald, the Pokédex's memory space is allocated by a Malloc, which you pass the length needed, and it automatically assigns enough memory for the length you need. All the reads/writes to it are calculated by using the Malloc, meaning it automatically reads/writes to the correct places.

In Ruby, the Pokédex has a set memory location. All the data which is required for the dex to run is placed after the end of the Pokémon data, which is precisely long enough for 386 species. In order to extend the dex, you need to manually repoint every reference to the Dex data which follows the Pokémon data.

Do you see why this is impractical? It may be possible, but it's extremely difficult to get every single pointer.

When I had a look at it for Chaos Rush, I found some 30 or so pointers (and even then, it still didn't work!)
Yeah, now I get it... now that really IS impractical...
I did not expect Game Freak to have different styles for Ruby and FR Pokedex.
But repointing every pointer would be total waste of time, I agree with that.
But if Emerald is like FR then we don't need Ruby =)
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #22483    
Old August 15th, 2012 (03:27 AM).
Yoshi-kun
Beginning Trainer
 
Join Date: Jul 2012
Gender: Female
Quote originally posted by Zezariz:
I have two quick questions.

1 I have been trying edit the back sprites of the emerald male hero to make it look like Red (from FR) I've found them in Tile Molester (00D6F980 in case anyone wants to avoid the 9 hours of searching the web that it took me to find it). But to my horror after shifting them around and editing them, the changes don't stick when put into game. Any advice? I've spent hours trying to change this... its infuriating -.-
I always had this kind of problem, no matter what tool I used. The only exception was if I used NSE and directly edited the artwork in the program. My answer is to try useing the Nameless Sprite Editor, and depending on how that works, you may have to get a hex editor, and directly edit graphics changes into the game's code like I do.

Quote:
2 I I've taken the sprites and palettes from FR and placed them into emerald using Overworld Editor Re. However i noticed a little graphical glitch where the right eye on the character is bigger than the other. I've checked my sprites they shouldn't look like that. any ideas?
Once again NSE may be your friend. You may have to have Fire Red and Emerald open in two different windows, and edit the Emerald one pixel by pixel. It might be tedious, but it may fix it.
  #22484    
Old August 15th, 2012 (07:06 PM).
madarawolf's Avatar
madarawolf
Espada Cuarta
 
Join Date: Nov 2008
Gender:
Every time I try to use Item Editor or XSE on a Fire Red ROM the text is just random.
So my script that starts out as this:
Spoiler:
'-----------------------
#org 0x800000
trainerbattle 0x0 0x2 0x0 0x8800017 0x8800068
msgbox 0x8800073 '"I'm hungery, do you know\nwhere I c..."
release
end


'---------
' Strings
'---------
#org 0x800017
= Hi, I'm Monkey D. Luffy.\nI'm gonna be king of the pirates\land find One Piece.

#org 0x800068
= Meat!!!!!

#org 0x800073
= I'm hungery, do you know\nwhere I can find some meat?

becomes this after I compile it:
Spoiler:
'-----------------------
#org 0x800000
trainerbattle 0x0 0x2 0x0 0x8800017 0x8800068
msgbox 0x8800073 '"\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h..."
release
end


'---------
' Strings
'---------
#org 0x800017
= \h3F\h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F

#org 0x800068
= \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F

#org 0x800073
= \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F

Is there any way I can fix this or do I need a new ROM?
__________________
why yes I am made of awsome
  #22485    
Old August 15th, 2012 (07:30 PM).
EHero70's Avatar
EHero70
 
Join Date: Jul 2012
Location: Connecticut
Gender: Male
Nature: Bold
Ok this happened to me before and SOmeone told me how to fix it but this time doing the thing he told me doesn't work. Basically my problem is that I put a warp at the exit of my cave but when i try to exit the cave in my game it doesn't work. Any help?
  #22486    
Old August 15th, 2012 (10:29 PM). Edited August 15th, 2012 by mrjimi16.
mrjimi16
Beginning Trainer
 
Join Date: Aug 2010
Gender: Male
Quote originally posted by Meowing Mewtwo:
What is the script for "Would you like to give a nickname to this [Pokemon]?"

Thanks,
Meowing Mewtwo :cer_boogie:
Do you mean how to say that or how to get the game to do that? If it is the first, I would point you over to diegoisawesome's megahuge xse scripting tutorial, because it is a really good tool for entry-level scripting. If not, and you need to do the actual name changing, I would still point you to that tutorial, because it is useful, but that won't exactly help you here. The thread that will really help you is a thread by JPAN on specials.

Since I am such a great guy, I will give you a few specials to get you started. These are labelled as Name Rater specials in that thread:
07B checks pokemon nickname, buffers it and put 01 in given variable if it was never nicknamed
07C buffers pokemon name indicated at 0x8004 (nickname)
07D obtained in a trade checker
09E nickname pokemon in party indicated by 0x8004

Naturally, as it can be a bit difficult to describe a function in such a short space, it isn't immediately obvious how to use those specials, for me at least, except for 07D. I would imagine that 07B saves a Pokemon's name to a buffer, noting if it is already nicknamed (not sure the purpose for buffering the name, but checking if it is nicknamed can be utilized in some way if you want to) - I am not sure how this special selects the Pokemon to check. 07C is obvious, except for how it picks the Pokemon. My experience with specials means I know that there are more than a few specials that allow you to select a Pokemon, you'd probably want to use 09F which is obviously meant to be paired with 09E. 07D is obvious and obviously intended to be used with special2 and not special (so that it has somewhere to note the Pokemon's trade status) - all that means is that, in XSE, you have to put "special2 0xXXXX" with XXXX being the variable you want to store whatever it is that it returns, presumably 1 for "traded."

Of course, if I were you, I's say, 'forget that' and just copy whatever script the name rater uses and perhaps changing the offsets for what he says. That is typically my first step whenever scripting something new and robust like this, following it up with a quick look at JPAN's post previously mentioned.

Quote originally posted by EHero70:
Ok this happened to me before and SOmeone told me how to fix it but this time doing the thing he told me doesn't work. Basically my problem is that I put a warp at the exit of my cave but when i try to exit the cave in my game it doesn't work. Any help?
First, of course, make sure that your warps are pointing to warps. But I think you have already done that. The only thing I can think of right off is that for doors the Unknown value above the 'To warp no:' box is 3. For some unknown reason (heh) that should be 3 when warping through doorways and the like and 4 when you are going 'up' or 'down' like on stairs or ladders.

Hope that fixes your problem because if not, I am out of ideas.

Quote originally posted by madarawolf:
Every time I try to use Item Editor or XSE on a Fire Red ROM the text is just random.
So my script that starts out as this:
Spoiler:
Spoiler:
'-----------------------
#org 0x800000
trainerbattle 0x0 0x2 0x0 0x8800017 0x8800068
msgbox 0x8800073 '"I'm hungery, do you know\nwhere I c..."
release
end


'---------
' Strings
'---------
#org 0x800017
= Hi, I'm Monkey D. Luffy.\nI'm gonna be king of the pirates\land find One Piece.

#org 0x800068
= Meat!!!!!

#org 0x800073
= I'm hungery, do you know\nwhere I can find some meat?

becomes this after I compile it:
Spoiler:
'-----------------------
#org 0x800000
trainerbattle 0x0 0x2 0x0 0x8800017 0x8800068
msgbox 0x8800073 '"\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h..."
release
end


'---------
' Strings
'---------
#org 0x800017
= \h3F\h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F

#org 0x800068
= \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F

#org 0x800073
= \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F

Is there any way I can fix this or do I need a new ROM?
I can't see how that would be a ROM issue, it looks a lot like a write issue and it is decidedly not random text. What does it look like in game, when you run the script? It could also be a read issue by XSE, or at least until you answer that question. I find it weird that it seems to write spaces, at times, correctly. If it were me, I would say to myself, 'Hmm, weird,' and then go redownload XSE from a different place than the first one and then retry. If I still had problems, then I would try getting a new ROM, but I can't imagine why that would help. Of course, every once in a while the solutions that make no sense at all somehow work.

I Googled XSE \h3F and somebody had a vaguely similar problem and someone suggested it might be due to dynamic pointers that used spaces. I am not sure if you used dynamic pointers or not, and even if you did they decided that that did not fix the issue, but that could be an issue (of course, I can't imagine that XSE would let you compile with too many arguments since it has never let me compile with too few) and it is too easy to fix to skip.

EDIT: Actually, I was just looking at your script, and I can't imagine why this would be the reason, and I don't have much experience yet with scripting trainer battles, but you don't have a message-type argument for the msgbox command. I have never left out an argument and been able to compile, but if it automatically writes something in that byte, your first message offset would start a byte too soon. Of course that means that it wouldn't display so that can't be it.
  #22487    
Old August 16th, 2012 (01:19 AM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Quote originally posted by madarawolf:
Every time I try to use Item Editor or XSE on a Fire Red ROM the text is just random.
So my script that starts out as this:
Spoiler:
'-----------------------
#org 0x800000
trainerbattle 0x0 0x2 0x0 0x8800017 0x8800068
msgbox 0x8800073 '"I'm hungery, do you know\nwhere I c..."
release
end


'---------
' Strings
'---------
#org 0x800017
= Hi, I'm Monkey D. Luffy.\nI'm gonna be king of the pirates\land find One Piece.

#org 0x800068
= Meat!!!!!

#org 0x800073
= I'm hungery, do you know\nwhere I can find some meat?

becomes this after I compile it:
Spoiler:
'-----------------------
#org 0x800000
trainerbattle 0x0 0x2 0x0 0x8800017 0x8800068
msgbox 0x8800073 '"\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h..."
release
end


'---------
' Strings
'---------
#org 0x800017
= \h3F\h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F

#org 0x800068
= \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F

#org 0x800073
= \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F\h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F\h3F \h3F \h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F \h3F\h3F\h3F\h3F\h3F

Is there any way I can fix this or do I need a new ROM?
You are not using dynamic offsets.
Since you are using static offsets, you are rewriting what was there.

Compile this
Code:
#dynamic 0x800000
#org @start
trainerbattle 0x0 0x2 0x0 @before @after
msgbox @aftermath '"I'm hungery, do you know\nwhere I c..."
release
end


'---------
' Strings
'---------
#org @before
= Hi, I'm Monkey D. Luffy.\nI'm gonna be king of the pirates\land find One Piece.

#org @after
= Meat!!!!!

#org @aftermath
= I'm hungery, do you know\nwhere I can find some meatdevil fruit?
If this doesn't work, then you need to replace your ROM.
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #22488    
Old August 16th, 2012 (06:34 AM).
MrSandman64's Avatar
MrSandman64
Pokemon Moon Creator
 
Join Date: Jul 2012
Location: Massachusetts
Gender: Male
I've discovered a solution to my previous question but I'm not sure how to do it or if it is even possible.
Quote originally posted by MrSandman64:
can someone help?
I just correctly inserted my hack's intro sprites (professor, hero, and rival)
and it worked fine except after i give the rival a name it distorts the sprite's colors.
I also inserted the rival's overworld sprite and it apears in the actual game but it diddnt chang the spite that appears when you are naming the rival (the walking OW sprite).
Can anyone tell me how i can fix this?
In order to fix this problem would it be possible to edit the multi-choice box that apears when naming the rival and remove the new name option from the list?
  #22489    
Old August 16th, 2012 (08:19 AM). Edited August 16th, 2012 by DrFuji.
LugiaMZ's Avatar
LugiaMZ
 
Join Date: Dec 2011
Gender: Male
Quote originally posted by Banjora Marxvile:
You need to find a tutorial about how to add voicegroups to FireRed then. The game uses a specific voicegroup for it's songs, not those that your MIDI uses. I don't know how to add voicegroups into Firered, but search for a tutorial. I don't think you can get your songs to sound 100% right, sadly, but the best you can do in the worst case scenario is try to use the same instruments as Firered in your songs.
Now I just worry how to make the midi voice play at rom to base on my indicate. My assembly song just play the "urgly" ( somethings like ghost theme) sound. I want to change it play as other sound at the voicegroup. How to do it? I attached 2 .s file, try to assembly to your Fire Red Rom for measure if you can, 2 .s file is New Bark Town track of GSC/HGSS, the "000E" is mine convert by mid2agb, I attached my New Bark Town midi of created "000E". And I also attached a New Bark Town .s file get from a tutorial. The New Bark Town .s file from tutorial named "newnark", I tried to assembly the "newbark" .s file, it's sound is no large-scale changed, how to do that with a midi file I want to assembly?

Other question, I tried to make a .s file to repeat the song, but I failed, my .s file name is 00C8, for my example,

Spoiler:
.include "MPlayDef.s"
.equ 00C8_grp, voicegroup000
.equ 00C8_pri, 0
.equ 00C8_rev, 0
.equ 00C8_mvl, 127
.equ 00C8_key, 0
.equ 00C8_tbs, 1
.equ 00C8_exg, 0
.equ 00C8_cmp, 1
.section .rodata
.global 00C8
.align 2
@**************** Track 1 (Midi-Chn.1) ****************@
00C8_1:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte TEMPO , 97*00C8_tbs/2
.byte VOICE , 26
.byte VOL , 95*00C8_mvl/mxv
00C8_1_loop:
.byte PAN , c_v+0
.byte MOD , 20
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W72
.byte N20 , Gn3 , v088
.byte W21
.byte N02 , Cs4 , v076
.byte W03
@ 004 ----------------------------------------
.byte N32 , Dn4 , v100
.byte W18
.byte W06
.byte W06
.byte W06
.byte N05 , Cn4
.byte W12
.byte N44
.byte W18
.byte W06
.byte W06
.byte W06
.byte W07
.byte W05
@ 005 ----------------------------------------
.byte N32 , Fn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte N11 , En4
.byte W24
.byte N11
.byte W12
.byte Fn4
.byte W12
.byte Gn4
.byte W12
@ 006 ----------------------------------------
.byte En4
.byte W12
.byte N05 , Cn4
.byte W12
.byte N11
.byte W12
.byte N05 , An3
.byte W06
.byte N02 , Fn3
.byte W03
.byte An3
.byte W03
.byte N44 , Cn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
@ 007 ----------------------------------------
.byte N11 , En4
.byte W12
.byte N05 , Gn4
.byte W12
.byte N11 , En4
.byte W12
.byte N28 , Dn4
.byte W12
.byte W06
.byte W06
.byte W06
.byte W03
.byte N24 , Ds4
.byte W24
.byte W03
@ 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 W96
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte FINE
@**************** Track 2 (Midi-Chn.2) ****************@
00C8_2:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 39
.byte VOL , 100*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_2_loop:
.byte MOD , 0
.byte W60
.byte W03
.byte N02 , Gn4 , v092
.byte W03
.byte Dn5
.byte W03
.byte N24 , En5
.byte W24
.byte W03
@ 001 ----------------------------------------
.byte W60
.byte W03
.byte N02 , An4
.byte W03
.byte En5
.byte W03
.byte N24 , Fn5
.byte W24
.byte W03
@ 002 ----------------------------------------
.byte W60
.byte N11 , Dn5
.byte W12
.byte Cn5
.byte W12
.byte Gs4
.byte W12
@ 003 ----------------------------------------
.byte N23 , Gn4
.byte W24
.byte An4
.byte W24
.byte Bn4
.byte W48
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 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 W96
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte FINE
@**************** Track 3 (Midi-Chn.3) ****************@
00C8_3:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 24
.byte VOL , 95*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_3_loop:
.byte MOD , 20
.byte N11 , Cn2 , v100
.byte W12
.byte Gn2
.byte W12
.byte Dn3
.byte W12
.byte N56 , En3
.byte W60
@ 001 ----------------------------------------
.byte N11 , Cn2
.byte W12
.byte An2
.byte W12
.byte En3
.byte W12
.byte N56 , Fn3
.byte W60
@ 002 ----------------------------------------
00C8_3_002:
.byte N11 , Cn2 , v100
.byte W12
.byte Gn2
.byte W12
.byte Dn3
.byte W12
.byte N56 , En3
.byte W60
.byte PEND
@ 003 ----------------------------------------
.byte N23 , Gn3 , v068
.byte W24
.byte Fs3
.byte W24
.byte Fn3 , v076
.byte W24
.byte N11 , Bn2 , v100
.byte W12
.byte Gn2
.byte W12
@ 004 ----------------------------------------
.byte PATT
.word 00C8_3_002
@ 005 ----------------------------------------
.byte N11 , Cs2 , v100
.byte W12
.byte Gn2
.byte W12
.byte As2
.byte W12
.byte Dn3
.byte W24
.byte Cs3
.byte W12
.byte Dn3
.byte W12
.byte En3
.byte W12
@ 006 ----------------------------------------
.byte Dn2
.byte W12
.byte N05 , An2
.byte W12
.byte N11 , En3
.byte W12
.byte N05 , Fn3
.byte W12
.byte N44 , Gs3
.byte W48
@ 007 ----------------------------------------
.byte N11 , Gn2
.byte W12
.byte Dn3
.byte W12
.byte Fn3
.byte W12
.byte Gs3
.byte W12
.byte Bn3
.byte W12
.byte N05 , Gn3
.byte W06
.byte N28 , Gs3
.byte W30
@ 008 ----------------------------------------
.byte N11 , Cn2
.byte W12
.byte Gn2
.byte W12
.byte Dn3
.byte W12
.byte En3
.byte W12
.byte Gn3
.byte W12
.byte Cn4
.byte W12
.byte Dn4
.byte W12
.byte En4
.byte W12
@ 009 ----------------------------------------
.byte Cs2
.byte W12
.byte As2
.byte W12
.byte Dn3
.byte W12
.byte Cs3
.byte W12
.byte En3
.byte W12
.byte Dn3
.byte W12
.byte Fn3
.byte W12
.byte N05 , Gn3
.byte W12
@ 010 ----------------------------------------
.byte N44 , Fn2
.byte W48
.byte N11 , An3
.byte W12
.byte N05 , Cn4
.byte W12
.byte N11 , Dn4
.byte W12
.byte N05 , En4
.byte W12
@ 011 ----------------------------------------
.byte N11 , Gn1
.byte W12
.byte Dn2
.byte W12
.byte Gn2
.byte W12
.byte Fs2
.byte W12
.byte An2
.byte W12
.byte Gn2
.byte W12
.byte Bn2
.byte W12
.byte Dn3
.byte W12
@ 012 ----------------------------------------
.byte N23 , Fn2
.byte W36
.byte N05
.byte W12
.byte N23
.byte W36
.byte N05 , Cn2
.byte W12
@ 013 ----------------------------------------
00C8_3_013:
.byte N23 , Fn2 , v100
.byte W36
.byte N05
.byte W12
.byte N05
.byte W12
.byte N11
.byte W24
.byte N05
.byte W12
.byte PEND
@ 014 ----------------------------------------
00C8_3_014:
.byte N23 , En2 , v100
.byte W36
.byte N05 , Bn2
.byte W12
.byte En2
.byte W12
.byte N11
.byte W24
.byte N05 , Bn2
.byte W12
.byte PEND
@ 015 ----------------------------------------
00C8_3_015:
.byte N23 , An2 , v100
.byte W36
.byte N05
.byte W12
.byte Gs2
.byte W12
.byte N05
.byte W12
.byte Gn2
.byte W12
.byte Fs2
.byte W12
.byte PEND
@ 016 ----------------------------------------
00C8_3_016:
.byte N23 , Dn2 , v100
.byte W36
.byte N05 , An2
.byte W12
.byte Dn2
.byte W12
.byte N05
.byte W12
.byte En2
.byte W12
.byte Fn2
.byte W12
.byte PEND
@ 017 ----------------------------------------
.byte N23 , Gn2
.byte W36
.byte N05 , Dn3
.byte W12
.byte Gn2
.byte W12
.byte N05
.byte W12
.byte An2
.byte W12
.byte As2
.byte W09
.byte N02 , Bn2 , v072
.byte W03
@ 018 ----------------------------------------
.byte N23 , Cn3 , v100
.byte W24
.byte En3
.byte W24
.byte Gn3
.byte W24
.byte Bn3
.byte W24
@ 019 ----------------------------------------
.byte As3
.byte W24
.byte Gn3
.byte W24
.byte En3
.byte W24
.byte Cs3
.byte W24
@ 020 ----------------------------------------
.byte Fn2
.byte W36
.byte N05
.byte W12
.byte N23
.byte W36
.byte N05 , Cn2
.byte W12
@ 021 ----------------------------------------
.byte PATT
.word 00C8_3_013
@ 022 ----------------------------------------
.byte PATT
.word 00C8_3_014
@ 023 ----------------------------------------
.byte PATT
.word 00C8_3_015
@ 024 ----------------------------------------
.byte PATT
.word 00C8_3_016
@ 025 ----------------------------------------
.byte N23 , Gn2 , v100
.byte W36
.byte N05 , Dn3
.byte W12
.byte Gn2
.byte W12
.byte N05
.byte W12
.byte An2
.byte W12
.byte Bn2
.byte W09
.byte N02 , Bn2 , v064
.byte W03
@ 026 ----------------------------------------
.byte N23 , Cn3 , v100
.byte W24
.byte Gn2
.byte W24
.byte En2
.byte W24
.byte Dn2
.byte W23
.byte W01
@ 027 ----------------------------------------
.byte FINE
@**************** Track 4 (Midi-Chn.4) ****************@
00C8_4:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 31
.byte VOL , 100*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_4_loop:
.byte MOD , 0
.byte W60
.byte N32 , Cn4 , v080
.byte W36
@ 001 ----------------------------------------
.byte W60
.byte N32
.byte W36
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte N23 , Bn3
.byte W24
.byte Cn4 , v084
.byte W24
.byte Dn4 , v088
.byte W48
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 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 W96
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte FINE
@**************** Track 5 (Midi-Chn.5) ****************@
00C8_5:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 50
.byte VOL , 102*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_5_loop:
.byte MOD , 20
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 008 ----------------------------------------
.byte N02 , Cs5 , v100
.byte W03
.byte N32 , Dn5
.byte W15
.byte W06
.byte W06
.byte W06
.byte N05 , Cn5
.byte W12
.byte N44
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
@ 009 ----------------------------------------
.byte N32 , Fn5
.byte W18
.byte W06
.byte W06
.byte W06
.byte N11 , En5
.byte W24
.byte N11
.byte W12
.byte Fn5
.byte W12
.byte N05 , Gn5
.byte W06
.byte N02 , An4
.byte W03
.byte Cn5
.byte W03
@ 010 ----------------------------------------
.byte En5
.byte W03
.byte N08 , An5
.byte W09
.byte N05 , En5
.byte W12
.byte N11
.byte W12
.byte N05 , Cn5
.byte W12
.byte N11
.byte W12
.byte N05 , An4
.byte W12
.byte N11 , Bn4
.byte W12
.byte N05 , Cn5
.byte W06
.byte N02 , Gn4
.byte W03
.byte Bn4
.byte W03
@ 011 ----------------------------------------
.byte Ds5
.byte W03
.byte N32 , En5
.byte W15
.byte W06
.byte W06
.byte W06
.byte N05 , Dn5
.byte W12
.byte N24
.byte W12
.byte W06
.byte W06
.byte W06
.byte W18
@ 012 ----------------------------------------
.byte W96
@ 013 ----------------------------------------
.byte W96
@ 014 ----------------------------------------
.byte W96
@ 015 ----------------------------------------
.byte W96
@ 016 ----------------------------------------
.byte W96
@ 017 ----------------------------------------
.byte W96
@ 018 ----------------------------------------
00C8_5_018:
.byte N44 , En5 , v080
.byte W48
.byte Gn5
.byte W48
.byte PEND
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte PATT
.word 00C8_5_018
@ 027 ----------------------------------------
.byte FINE
@**************** Track 6 (Midi-Chn.6) ****************@
00C8_6:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 16
.byte VOL , 100*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_6_loop:
.byte MOD , 20
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 008 ----------------------------------------
.byte W96
@ 009 ----------------------------------------
.byte W96
@ 010 ----------------------------------------
.byte W96
@ 011 ----------------------------------------
.byte W72
.byte N11 , En4 , v100
.byte W12
.byte N08 , Gn4
.byte W09
.byte N02 , Gs4
.byte W03
@ 012 ----------------------------------------
.byte N44 , An4
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , An3 , v096
.byte W12
.byte N05 , Cn4 , v092
.byte W12
.byte N11 , En4 , v100
.byte W12
.byte N32 , Dn4
.byte W12
@ 013 ----------------------------------------
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Cn4
.byte W24
.byte Bn3
.byte W24
.byte N23 , Fn4
.byte W12
.byte W06
.byte W06
@ 014 ----------------------------------------
.byte N32 , Gn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte N23 , Fn4
.byte W12
.byte W06
.byte W06
.byte W12
.byte En4
.byte W12
.byte W06
.byte W06
@ 015 ----------------------------------------
.byte N11 , Dn4
.byte W12
.byte N05 , Cn4
.byte W12
.byte N11 , Bn3
.byte W12
.byte N08 , Cn4
.byte W24
.byte N11 , Bn3
.byte W24
.byte Cn4
.byte W12
@ 016 ----------------------------------------
.byte N44 , An3
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W12
.byte N11 , Fn4
.byte W12
.byte En4
.byte W12
.byte Dn4
.byte W12
@ 017 ----------------------------------------
.byte N32 , Cn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte N11 , Bn3
.byte W24
.byte Cn4
.byte W12
.byte Dn4
.byte W12
.byte Ds4
.byte W12
@ 018 ----------------------------------------
.byte N08 , En4
.byte W06
.byte W06
.byte W06
.byte W06
.byte W72
@ 019 ----------------------------------------
.byte N23 , Dn4
.byte W24
.byte Cs4
.byte W24
.byte Fn4
.byte W24
.byte N20 , Gn4
.byte W21
.byte N02 , Gs4 , v064
.byte W03
@ 020 ----------------------------------------
.byte N32 , An4 , v100
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N05 , En4
.byte W12
.byte N05
.byte W12
.byte N08
.byte W09
.byte N02 , Gs4
.byte W03
.byte N11 , An4
.byte W12
.byte N05 , En4
.byte W12
@ 021 ----------------------------------------
.byte N11
.byte W12
.byte N05 , Dn4
.byte W12
.byte N11 , Cs4
.byte W12
.byte N32 , Dn4
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Bn3
.byte W12
.byte Fn4
.byte W12
@ 022 ----------------------------------------
.byte N32 , Gn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte N05 , Dn4
.byte W12
.byte N05
.byte W12
.byte N08
.byte W12
.byte N11 , Gn4
.byte W12
.byte N05 , Dn4
.byte W09
.byte N02 , As4
.byte W03
@ 023 ----------------------------------------
.byte N32 , Bn4
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Cn5
.byte W12
.byte N23 , An4
.byte W12
.byte W06
.byte W06
.byte N11 , An3
.byte W12
.byte Cn4
.byte W12
@ 024 ----------------------------------------
.byte N56 , Fn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Gn4
.byte W12
.byte Fn4
.byte W12
.byte En4
.byte W12
@ 025 ----------------------------------------
.byte N44 , Dn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W12
.byte N11 , Bn3
.byte W12
.byte Cn4
.byte W12
.byte Dn4
.byte W12
@ 026 ----------------------------------------
.byte N32 , En4
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W54
@ 027 ----------------------------------------
.byte FINE
@**************** Track 7 (Midi-Chn.7) ****************@
00C8_7:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 30
.byte VOL , 94*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_7_loop:
.byte MOD , 0
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 008 ----------------------------------------
.byte W96
@ 009 ----------------------------------------
.byte W96
@ 010 ----------------------------------------
.byte W96
@ 011 ----------------------------------------
.byte W96
@ 012 ----------------------------------------
00C8_7_012:
.byte N03 , En5 , v092
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte PEND
@ 013 ----------------------------------------
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
@ 014 ----------------------------------------
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Fn5
.byte W06
@ 015 ----------------------------------------
00C8_7_015:
.byte N03 , An5 , v092
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte En4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte En4
.byte W06
.byte Cn4
.byte W06
.byte An4
.byte W06
.byte En4
.byte W06
.byte Cn4
.byte W06
.byte An3
.byte W06
.byte PEND
@ 016 ----------------------------------------
00C8_7_016:
.byte N03 , Fn4 , v092
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte Fn5
.byte W06
.byte Fn4
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte Fn5
.byte W06
.byte PEND
@ 017 ----------------------------------------
00C8_7_017:
.byte N03 , Gn4 , v092
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Gn5
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Gn5
.byte W06
.byte PEND
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte As5
.byte W06
.byte Gn5
.byte W06
.byte En5
.byte W06
.byte Cs5
.byte W06
.byte Gn5
.byte W06
.byte En5
.byte W06
.byte Cs5
.byte W06
.byte As4
.byte W06
.byte En5
.byte W06
.byte Cs5
.byte W06
.byte As4
.byte W06
.byte Gn4
.byte W06
.byte As4
.byte W06
.byte Gn4
.byte W06
.byte En4
.byte W06
.byte Cs4
.byte W06
@ 020 ----------------------------------------
.byte PATT
.word 00C8_7_012
@ 021 ----------------------------------------
.byte N03 , Dn5 , v092
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
.byte Dn5
.byte W06
.byte Cn5
.byte W06
.byte Dn5
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
@ 022 ----------------------------------------
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Gn4 , v088
.byte W06
.byte Bn4 , v092
.byte W06
.byte Dn5
.byte W06
.byte Fn5
.byte W06
@ 023 ----------------------------------------
.byte PATT
.word 00C8_7_015
@ 024 ----------------------------------------
.byte PATT
.word 00C8_7_016
@ 025 ----------------------------------------
.byte PATT
.word 00C8_7_017
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte FINE
@**************** Track 8 (Midi-Chn.8) ****************@
00C8_8:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 26
.byte VOL , 88*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_8_loop:
.byte MOD , 15
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W60
.byte N11 , Gn4 , v092
.byte W12
.byte An4
.byte W12
.byte As4
.byte W12
@ 006 ----------------------------------------
.byte W48
.byte Gs4
.byte W12
.byte Gn4
.byte W12
.byte N14 , Fn4
.byte W12
.byte N32 , Cn5
.byte W12
@ 007 ----------------------------------------
.byte W24
.byte N11 , Cs5
.byte W12
.byte N28 , Dn5
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
.byte N23 , Bn4
.byte W12
.byte W06
.byte W06
@ 008 ----------------------------------------
.byte N02 , As3
.byte W03
.byte N32 , Bn3
.byte W09
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Cn4
.byte W12
.byte En4
.byte W12
.byte N32 , Gn4
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
@ 009 ----------------------------------------
.byte As4
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Gn4 , v100
.byte W24
.byte As4 , v092
.byte W12
.byte Cs5
.byte W12
.byte N05 , En5
.byte W12
@ 010 ----------------------------------------
.byte N23 , An3
.byte W06
.byte W06
.byte W06
.byte W06
.byte Cn4
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Fn4
.byte W48
@ 011 ----------------------------------------
.byte N02 , En4
.byte W03
.byte N32 , Fn4
.byte W32
.byte W01
.byte N05 , Gn4
.byte W12
.byte N11 , An4
.byte W12
.byte Gn4
.byte W36
@ 012 ----------------------------------------
.byte W96
@ 013 ----------------------------------------
.byte W96
@ 014 ----------------------------------------
.byte W96
@ 015 ----------------------------------------
.byte W96
@ 016 ----------------------------------------
.byte W96
@ 017 ----------------------------------------
.byte W96
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte GOTO
.word 00C8_8_loop
.byte W06
.byte FINE
@******************************************************@
.align 2
00C8:
.byte 8 @ NumTrks
.byte 0 @ NumBlks
.byte 00C8_pri @ Priority
.byte 00C8_rev @ Reverb.
.word 00C8_grp
.word 00C8_1
.word 00C8_2
.word 00C8_3
.word 00C8_4
.word 00C8_5
.word 00C8_6
.word 00C8_7
.word 00C8_8
.end



I also attached this .s file, the .s file name is 00C8.s, you can try to assembly for test this .s file. Why I will failed to looping back to the song? All .s file and midi is inside my "MYQuestionPack" at the attachments. Dowload it.
Hope someone can help me.

Thanks.
Attached Files
File Type: rar MyQuestionPack.rar‎ (14.2 KB, 2 views) (Save to Dropbox)
  #22490    
Old August 16th, 2012 (10:04 AM).
Hovde's Avatar
Hovde
 
Join Date: Jul 2012
Location: Arlington WA
Age: 19
Gender: Male
Nature: Quiet
i am trying to add legendary battles into my firered hack (ex, a fight with rayuaza), but i dont know the proper script offsets for this. i tried to put my own in (ex, 000001) but that just corrupted my rom. can someone tell me what script offsets to use for this?
  #22491    
Old August 16th, 2012 (01:56 PM).
mrjimi16
Beginning Trainer
 
Join Date: Aug 2010
Gender: Male
Quote originally posted by Hovde:
i am trying to add legendary battles into my firered hack (ex, a fight with rayuaza), but i dont know the proper script offsets for this. i tried to put my own in (ex, 000001) but that just corrupted my rom. can someone tell me what script offsets to use for this?
Get XSE and start your script with this:
#dynamic 0x800000
#org @pointer

with pointer being whatever you want. At any point that you would put in another offset, use a pointer like that - a string of letters/numbers with no spaces. When XSE compiles, it will check the size of each script and find a place on the ROM, starting at the stated offset (in this case 0x800000), that each script will fit and automatically change each @pointer to the corresponding offset. You should never put in your own offsets unless you are 100% sure that either there is enough space on the ROM for the script or you don't need whatever is at those offsets.

As far as the actual script goes, you can just go into Advance-Map and find the map that a legendary battle is called and just edit the script to call Rayquaza.
  #22492    
Old August 16th, 2012 (04:38 PM).
crowlover
Beginning Trainer
 
Join Date: Aug 2012
Gender: Male
What are the offsets for the tile behaviors and usage of HMs by selecting a Pokemon in Fire Red?
  #22493    
Old August 16th, 2012 (05:45 PM).
mrjimi16
Beginning Trainer
 
Join Date: Aug 2010
Gender: Male
Just to be sure, buffers are never wiped, right? Like, if I wrote to a buffer in the first script of the game, it would still read what I put there at the end of the game?
  #22494    
Old August 16th, 2012 (06:19 PM).
Spherical Ice's Avatar
Spherical Ice
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice
Nope, buffers are only stored for the duration of the script.
__________________
  #22495    
Old August 16th, 2012 (06:39 PM). Edited August 16th, 2012 by redriders180.
redriders180's Avatar
redriders180
Mastermind of Pokemon Glazed
 
Join Date: Jun 2010
Location: Path of Victory, Tunod
Gender: Male
Nature: Quirky
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
Quote originally posted by crowlover:
What are the offsets for the tile behaviors and usage of HMs by selecting a Pokemon in Fire Red?
The only tile behaviors that are used for HMs are for Surf and Waterfall. $10 and $15 are used for Surf (the former for a reflection, and the latter for no reflection), and $13 is for Waterfall (this also forces the player down). Cut, Rock Smash, and Strength are all dictated by the Cut tree, rock smash rock, and strength boulder, and not a tile behavior. Flash is dictated by a setting in the header, and Fly will always work, so long as the map is an outside map (also dictated by the header).

In an original Firered ROM, these are the offsets you want:
Cut: 0x1BDF13
Surf: 0x1A6AC8
Fly: No idea v.v
Strength: 0x1BE11D
Flash: No idea :\
Rock Smash: 0x1BE00C
Waterfall: 0x1BE2B7

Note: The waterfall and surf scripts don't have badge checks. that's ASM, unfortunately :\

Quote originally posted by Spherical Ice:
Nope, buffers are only stored for the duration of the script.
I don't believe this is the case. My buffers still have the text they had buffered to them stored in memory, even while no script is running. However, I'm nearly absoultely 100% sure buffers aren't saved in the Flash memory...they're really only intended for one-script-only-type things, called on when needed, not to store values for an entire game.
__________________


Superfan of Pokemon Glazed? Click here to join the official Pokemon Glazed Facebook Page!

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...


  #22496    
Old August 16th, 2012 (06:53 PM).
Spherical Ice's Avatar
Spherical Ice
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice
Oh, right, you are right there. I think I meant to say they're only really safe from being overwritten in the duration of a script. But for the intent of mrjimi, it won't work D:
__________________
  #22497    
Old August 16th, 2012 (11:15 PM).
EHero70's Avatar
EHero70
 
Join Date: Jul 2012
Location: Connecticut
Gender: Male
Nature: Bold
Ok weird thing. One my warp isnt working in my cave. Everything is good and the unknown value is set to 3. Also one of my ladders suddenly stopped working and it wont warp me anymore. Its unknown value is 4. Finally when ever I step on theese to blocks in my game my game freezes and crashes. I need help desperately
  #22498    
Old August 17th, 2012 (02:06 AM). Edited August 17th, 2012 by Banjora Marxvile.
Banjora Marxvile's Avatar
Banjora Marxvile
Oui Oui Si Si Ja Ja Da Da
 
Join Date: May 2008
Age: 21
Gender: Male
Nature: Lonely
Quote originally posted by LugiaMZ:
Now I just worry how to make the midi voice play at rom to base on my indicate. My assembly song just play the "urgly" ( somethings like ghost theme) sound. I want to change it play as other sound at the voicegroup. How to do it? I attached 2 .s file, try to assembly to your Fire Red Rom for measure if you can, 2 .s file is New Bark Town track of GSC/HGSS, the "000E" is mine convert by mid2agb, I attached my New Bark Town midi of created "000E". And I also attached a New Bark Town .s file get from a tutorial. The New Bark Town .s file from tutorial named "newnark", I tried to assembly the "newbark" .s file, it's sound is no large-scale changed, how to do that with a midi file I want to assembly?

Other question, I tried to make a .s file to repeat the song, but I failed, my .s file name is 00C8, for my example,

Spoiler:
.include "MPlayDef.s"
.equ 00C8_grp, voicegroup000
.equ 00C8_pri, 0
.equ 00C8_rev, 0
.equ 00C8_mvl, 127
.equ 00C8_key, 0
.equ 00C8_tbs, 1
.equ 00C8_exg, 0
.equ 00C8_cmp, 1
.section .rodata
.global 00C8
.align 2
@**************** Track 1 (Midi-Chn.1) ****************@
00C8_1:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte TEMPO , 97*00C8_tbs/2
.byte VOICE , 26
.byte VOL , 95*00C8_mvl/mxv
00C8_1_loop:
.byte PAN , c_v+0
.byte MOD , 20
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W72
.byte N20 , Gn3 , v088
.byte W21
.byte N02 , Cs4 , v076
.byte W03
@ 004 ----------------------------------------
.byte N32 , Dn4 , v100
.byte W18
.byte W06
.byte W06
.byte W06
.byte N05 , Cn4
.byte W12
.byte N44
.byte W18
.byte W06
.byte W06
.byte W06
.byte W07
.byte W05
@ 005 ----------------------------------------
.byte N32 , Fn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte N11 , En4
.byte W24
.byte N11
.byte W12
.byte Fn4
.byte W12
.byte Gn4
.byte W12
@ 006 ----------------------------------------
.byte En4
.byte W12
.byte N05 , Cn4
.byte W12
.byte N11
.byte W12
.byte N05 , An3
.byte W06
.byte N02 , Fn3
.byte W03
.byte An3
.byte W03
.byte N44 , Cn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
@ 007 ----------------------------------------
.byte N11 , En4
.byte W12
.byte N05 , Gn4
.byte W12
.byte N11 , En4
.byte W12
.byte N28 , Dn4
.byte W12
.byte W06
.byte W06
.byte W06
.byte W03
.byte N24 , Ds4
.byte W24
.byte W03
@ 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 W96
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte FINE
@**************** Track 2 (Midi-Chn.2) ****************@
00C8_2:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 39
.byte VOL , 100*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_2_loop:
.byte MOD , 0
.byte W60
.byte W03
.byte N02 , Gn4 , v092
.byte W03
.byte Dn5
.byte W03
.byte N24 , En5
.byte W24
.byte W03
@ 001 ----------------------------------------
.byte W60
.byte W03
.byte N02 , An4
.byte W03
.byte En5
.byte W03
.byte N24 , Fn5
.byte W24
.byte W03
@ 002 ----------------------------------------
.byte W60
.byte N11 , Dn5
.byte W12
.byte Cn5
.byte W12
.byte Gs4
.byte W12
@ 003 ----------------------------------------
.byte N23 , Gn4
.byte W24
.byte An4
.byte W24
.byte Bn4
.byte W48
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 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 W96
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte FINE
@**************** Track 3 (Midi-Chn.3) ****************@
00C8_3:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 24
.byte VOL , 95*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_3_loop:
.byte MOD , 20
.byte N11 , Cn2 , v100
.byte W12
.byte Gn2
.byte W12
.byte Dn3
.byte W12
.byte N56 , En3
.byte W60
@ 001 ----------------------------------------
.byte N11 , Cn2
.byte W12
.byte An2
.byte W12
.byte En3
.byte W12
.byte N56 , Fn3
.byte W60
@ 002 ----------------------------------------
00C8_3_002:
.byte N11 , Cn2 , v100
.byte W12
.byte Gn2
.byte W12
.byte Dn3
.byte W12
.byte N56 , En3
.byte W60
.byte PEND
@ 003 ----------------------------------------
.byte N23 , Gn3 , v068
.byte W24
.byte Fs3
.byte W24
.byte Fn3 , v076
.byte W24
.byte N11 , Bn2 , v100
.byte W12
.byte Gn2
.byte W12
@ 004 ----------------------------------------
.byte PATT
.word 00C8_3_002
@ 005 ----------------------------------------
.byte N11 , Cs2 , v100
.byte W12
.byte Gn2
.byte W12
.byte As2
.byte W12
.byte Dn3
.byte W24
.byte Cs3
.byte W12
.byte Dn3
.byte W12
.byte En3
.byte W12
@ 006 ----------------------------------------
.byte Dn2
.byte W12
.byte N05 , An2
.byte W12
.byte N11 , En3
.byte W12
.byte N05 , Fn3
.byte W12
.byte N44 , Gs3
.byte W48
@ 007 ----------------------------------------
.byte N11 , Gn2
.byte W12
.byte Dn3
.byte W12
.byte Fn3
.byte W12
.byte Gs3
.byte W12
.byte Bn3
.byte W12
.byte N05 , Gn3
.byte W06
.byte N28 , Gs3
.byte W30
@ 008 ----------------------------------------
.byte N11 , Cn2
.byte W12
.byte Gn2
.byte W12
.byte Dn3
.byte W12
.byte En3
.byte W12
.byte Gn3
.byte W12
.byte Cn4
.byte W12
.byte Dn4
.byte W12
.byte En4
.byte W12
@ 009 ----------------------------------------
.byte Cs2
.byte W12
.byte As2
.byte W12
.byte Dn3
.byte W12
.byte Cs3
.byte W12
.byte En3
.byte W12
.byte Dn3
.byte W12
.byte Fn3
.byte W12
.byte N05 , Gn3
.byte W12
@ 010 ----------------------------------------
.byte N44 , Fn2
.byte W48
.byte N11 , An3
.byte W12
.byte N05 , Cn4
.byte W12
.byte N11 , Dn4
.byte W12
.byte N05 , En4
.byte W12
@ 011 ----------------------------------------
.byte N11 , Gn1
.byte W12
.byte Dn2
.byte W12
.byte Gn2
.byte W12
.byte Fs2
.byte W12
.byte An2
.byte W12
.byte Gn2
.byte W12
.byte Bn2
.byte W12
.byte Dn3
.byte W12
@ 012 ----------------------------------------
.byte N23 , Fn2
.byte W36
.byte N05
.byte W12
.byte N23
.byte W36
.byte N05 , Cn2
.byte W12
@ 013 ----------------------------------------
00C8_3_013:
.byte N23 , Fn2 , v100
.byte W36
.byte N05
.byte W12
.byte N05
.byte W12
.byte N11
.byte W24
.byte N05
.byte W12
.byte PEND
@ 014 ----------------------------------------
00C8_3_014:
.byte N23 , En2 , v100
.byte W36
.byte N05 , Bn2
.byte W12
.byte En2
.byte W12
.byte N11
.byte W24
.byte N05 , Bn2
.byte W12
.byte PEND
@ 015 ----------------------------------------
00C8_3_015:
.byte N23 , An2 , v100
.byte W36
.byte N05
.byte W12
.byte Gs2
.byte W12
.byte N05
.byte W12
.byte Gn2
.byte W12
.byte Fs2
.byte W12
.byte PEND
@ 016 ----------------------------------------
00C8_3_016:
.byte N23 , Dn2 , v100
.byte W36
.byte N05 , An2
.byte W12
.byte Dn2
.byte W12
.byte N05
.byte W12
.byte En2
.byte W12
.byte Fn2
.byte W12
.byte PEND
@ 017 ----------------------------------------
.byte N23 , Gn2
.byte W36
.byte N05 , Dn3
.byte W12
.byte Gn2
.byte W12
.byte N05
.byte W12
.byte An2
.byte W12
.byte As2
.byte W09
.byte N02 , Bn2 , v072
.byte W03
@ 018 ----------------------------------------
.byte N23 , Cn3 , v100
.byte W24
.byte En3
.byte W24
.byte Gn3
.byte W24
.byte Bn3
.byte W24
@ 019 ----------------------------------------
.byte As3
.byte W24
.byte Gn3
.byte W24
.byte En3
.byte W24
.byte Cs3
.byte W24
@ 020 ----------------------------------------
.byte Fn2
.byte W36
.byte N05
.byte W12
.byte N23
.byte W36
.byte N05 , Cn2
.byte W12
@ 021 ----------------------------------------
.byte PATT
.word 00C8_3_013
@ 022 ----------------------------------------
.byte PATT
.word 00C8_3_014
@ 023 ----------------------------------------
.byte PATT
.word 00C8_3_015
@ 024 ----------------------------------------
.byte PATT
.word 00C8_3_016
@ 025 ----------------------------------------
.byte N23 , Gn2 , v100
.byte W36
.byte N05 , Dn3
.byte W12
.byte Gn2
.byte W12
.byte N05
.byte W12
.byte An2
.byte W12
.byte Bn2
.byte W09
.byte N02 , Bn2 , v064
.byte W03
@ 026 ----------------------------------------
.byte N23 , Cn3 , v100
.byte W24
.byte Gn2
.byte W24
.byte En2
.byte W24
.byte Dn2
.byte W23
.byte W01
@ 027 ----------------------------------------
.byte FINE
@**************** Track 4 (Midi-Chn.4) ****************@
00C8_4:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 31
.byte VOL , 100*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_4_loop:
.byte MOD , 0
.byte W60
.byte N32 , Cn4 , v080
.byte W36
@ 001 ----------------------------------------
.byte W60
.byte N32
.byte W36
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte N23 , Bn3
.byte W24
.byte Cn4 , v084
.byte W24
.byte Dn4 , v088
.byte W48
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 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 W96
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte FINE
@**************** Track 5 (Midi-Chn.5) ****************@
00C8_5:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 50
.byte VOL , 102*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_5_loop:
.byte MOD , 20
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 008 ----------------------------------------
.byte N02 , Cs5 , v100
.byte W03
.byte N32 , Dn5
.byte W15
.byte W06
.byte W06
.byte W06
.byte N05 , Cn5
.byte W12
.byte N44
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
@ 009 ----------------------------------------
.byte N32 , Fn5
.byte W18
.byte W06
.byte W06
.byte W06
.byte N11 , En5
.byte W24
.byte N11
.byte W12
.byte Fn5
.byte W12
.byte N05 , Gn5
.byte W06
.byte N02 , An4
.byte W03
.byte Cn5
.byte W03
@ 010 ----------------------------------------
.byte En5
.byte W03
.byte N08 , An5
.byte W09
.byte N05 , En5
.byte W12
.byte N11
.byte W12
.byte N05 , Cn5
.byte W12
.byte N11
.byte W12
.byte N05 , An4
.byte W12
.byte N11 , Bn4
.byte W12
.byte N05 , Cn5
.byte W06
.byte N02 , Gn4
.byte W03
.byte Bn4
.byte W03
@ 011 ----------------------------------------
.byte Ds5
.byte W03
.byte N32 , En5
.byte W15
.byte W06
.byte W06
.byte W06
.byte N05 , Dn5
.byte W12
.byte N24
.byte W12
.byte W06
.byte W06
.byte W06
.byte W18
@ 012 ----------------------------------------
.byte W96
@ 013 ----------------------------------------
.byte W96
@ 014 ----------------------------------------
.byte W96
@ 015 ----------------------------------------
.byte W96
@ 016 ----------------------------------------
.byte W96
@ 017 ----------------------------------------
.byte W96
@ 018 ----------------------------------------
00C8_5_018:
.byte N44 , En5 , v080
.byte W48
.byte Gn5
.byte W48
.byte PEND
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte PATT
.word 00C8_5_018
@ 027 ----------------------------------------
.byte FINE
@**************** Track 6 (Midi-Chn.6) ****************@
00C8_6:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 16
.byte VOL , 100*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_6_loop:
.byte MOD , 20
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 008 ----------------------------------------
.byte W96
@ 009 ----------------------------------------
.byte W96
@ 010 ----------------------------------------
.byte W96
@ 011 ----------------------------------------
.byte W72
.byte N11 , En4 , v100
.byte W12
.byte N08 , Gn4
.byte W09
.byte N02 , Gs4
.byte W03
@ 012 ----------------------------------------
.byte N44 , An4
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , An3 , v096
.byte W12
.byte N05 , Cn4 , v092
.byte W12
.byte N11 , En4 , v100
.byte W12
.byte N32 , Dn4
.byte W12
@ 013 ----------------------------------------
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Cn4
.byte W24
.byte Bn3
.byte W24
.byte N23 , Fn4
.byte W12
.byte W06
.byte W06
@ 014 ----------------------------------------
.byte N32 , Gn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte N23 , Fn4
.byte W12
.byte W06
.byte W06
.byte W12
.byte En4
.byte W12
.byte W06
.byte W06
@ 015 ----------------------------------------
.byte N11 , Dn4
.byte W12
.byte N05 , Cn4
.byte W12
.byte N11 , Bn3
.byte W12
.byte N08 , Cn4
.byte W24
.byte N11 , Bn3
.byte W24
.byte Cn4
.byte W12
@ 016 ----------------------------------------
.byte N44 , An3
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W12
.byte N11 , Fn4
.byte W12
.byte En4
.byte W12
.byte Dn4
.byte W12
@ 017 ----------------------------------------
.byte N32 , Cn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte N11 , Bn3
.byte W24
.byte Cn4
.byte W12
.byte Dn4
.byte W12
.byte Ds4
.byte W12
@ 018 ----------------------------------------
.byte N08 , En4
.byte W06
.byte W06
.byte W06
.byte W06
.byte W72
@ 019 ----------------------------------------
.byte N23 , Dn4
.byte W24
.byte Cs4
.byte W24
.byte Fn4
.byte W24
.byte N20 , Gn4
.byte W21
.byte N02 , Gs4 , v064
.byte W03
@ 020 ----------------------------------------
.byte N32 , An4 , v100
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N05 , En4
.byte W12
.byte N05
.byte W12
.byte N08
.byte W09
.byte N02 , Gs4
.byte W03
.byte N11 , An4
.byte W12
.byte N05 , En4
.byte W12
@ 021 ----------------------------------------
.byte N11
.byte W12
.byte N05 , Dn4
.byte W12
.byte N11 , Cs4
.byte W12
.byte N32 , Dn4
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Bn3
.byte W12
.byte Fn4
.byte W12
@ 022 ----------------------------------------
.byte N32 , Gn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte N05 , Dn4
.byte W12
.byte N05
.byte W12
.byte N08
.byte W12
.byte N11 , Gn4
.byte W12
.byte N05 , Dn4
.byte W09
.byte N02 , As4
.byte W03
@ 023 ----------------------------------------
.byte N32 , Bn4
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Cn5
.byte W12
.byte N23 , An4
.byte W12
.byte W06
.byte W06
.byte N11 , An3
.byte W12
.byte Cn4
.byte W12
@ 024 ----------------------------------------
.byte N56 , Fn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Gn4
.byte W12
.byte Fn4
.byte W12
.byte En4
.byte W12
@ 025 ----------------------------------------
.byte N44 , Dn4
.byte W18
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W12
.byte N11 , Bn3
.byte W12
.byte Cn4
.byte W12
.byte Dn4
.byte W12
@ 026 ----------------------------------------
.byte N32 , En4
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
.byte W06
.byte W54
@ 027 ----------------------------------------
.byte FINE
@**************** Track 7 (Midi-Chn.7) ****************@
00C8_7:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 30
.byte VOL , 94*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_7_loop:
.byte MOD , 0
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W96
@ 006 ----------------------------------------
.byte W96
@ 007 ----------------------------------------
.byte W96
@ 008 ----------------------------------------
.byte W96
@ 009 ----------------------------------------
.byte W96
@ 010 ----------------------------------------
.byte W96
@ 011 ----------------------------------------
.byte W96
@ 012 ----------------------------------------
00C8_7_012:
.byte N03 , En5 , v092
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte PEND
@ 013 ----------------------------------------
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
.byte An4
.byte W06
.byte Bn4
.byte W06
@ 014 ----------------------------------------
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Fn5
.byte W06
@ 015 ----------------------------------------
00C8_7_015:
.byte N03 , An5 , v092
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte En5
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte En4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte En4
.byte W06
.byte Cn4
.byte W06
.byte An4
.byte W06
.byte En4
.byte W06
.byte Cn4
.byte W06
.byte An3
.byte W06
.byte PEND
@ 016 ----------------------------------------
00C8_7_016:
.byte N03 , Fn4 , v092
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte Fn5
.byte W06
.byte Fn4
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte An4
.byte W06
.byte Cn5
.byte W06
.byte Fn5
.byte W06
.byte PEND
@ 017 ----------------------------------------
00C8_7_017:
.byte N03 , Gn4 , v092
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Gn5
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Gn5
.byte W06
.byte PEND
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte As5
.byte W06
.byte Gn5
.byte W06
.byte En5
.byte W06
.byte Cs5
.byte W06
.byte Gn5
.byte W06
.byte En5
.byte W06
.byte Cs5
.byte W06
.byte As4
.byte W06
.byte En5
.byte W06
.byte Cs5
.byte W06
.byte As4
.byte W06
.byte Gn4
.byte W06
.byte As4
.byte W06
.byte Gn4
.byte W06
.byte En4
.byte W06
.byte Cs4
.byte W06
@ 020 ----------------------------------------
.byte PATT
.word 00C8_7_012
@ 021 ----------------------------------------
.byte N03 , Dn5 , v092
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
.byte Dn5
.byte W06
.byte Cn5
.byte W06
.byte Dn5
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
.byte Gs4
.byte W06
.byte Cn5
.byte W06
@ 022 ----------------------------------------
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Dn5
.byte W06
.byte Bn4
.byte W06
.byte Gn4
.byte W06
.byte Bn4
.byte W06
.byte Gn4 , v088
.byte W06
.byte Bn4 , v092
.byte W06
.byte Dn5
.byte W06
.byte Fn5
.byte W06
@ 023 ----------------------------------------
.byte PATT
.word 00C8_7_015
@ 024 ----------------------------------------
.byte PATT
.word 00C8_7_016
@ 025 ----------------------------------------
.byte PATT
.word 00C8_7_017
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte FINE
@**************** Track 8 (Midi-Chn.8) ****************@
00C8_8:
.byte KEYSH , 00C8_key+0
@ 000 ----------------------------------------
.byte VOICE , 26
.byte VOL , 88*00C8_mvl/mxv
.byte PAN , c_v+0
00C8_8_loop:
.byte MOD , 15
.byte W96
@ 001 ----------------------------------------
.byte W96
@ 002 ----------------------------------------
.byte W96
@ 003 ----------------------------------------
.byte W96
@ 004 ----------------------------------------
.byte W96
@ 005 ----------------------------------------
.byte W60
.byte N11 , Gn4 , v092
.byte W12
.byte An4
.byte W12
.byte As4
.byte W12
@ 006 ----------------------------------------
.byte W48
.byte Gs4
.byte W12
.byte Gn4
.byte W12
.byte N14 , Fn4
.byte W12
.byte N32 , Cn5
.byte W12
@ 007 ----------------------------------------
.byte W24
.byte N11 , Cs5
.byte W12
.byte N28 , Dn5
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
.byte N23 , Bn4
.byte W12
.byte W06
.byte W06
@ 008 ----------------------------------------
.byte N02 , As3
.byte W03
.byte N32 , Bn3
.byte W09
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Cn4
.byte W12
.byte En4
.byte W12
.byte N32 , Gn4
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
@ 009 ----------------------------------------
.byte As4
.byte W12
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Gn4 , v100
.byte W24
.byte As4 , v092
.byte W12
.byte Cs5
.byte W12
.byte N05 , En5
.byte W12
@ 010 ----------------------------------------
.byte N23 , An3
.byte W06
.byte W06
.byte W06
.byte W06
.byte Cn4
.byte W06
.byte W06
.byte W06
.byte W06
.byte N11 , Fn4
.byte W48
@ 011 ----------------------------------------
.byte N02 , En4
.byte W03
.byte N32 , Fn4
.byte W32
.byte W01
.byte N05 , Gn4
.byte W12
.byte N11 , An4
.byte W12
.byte Gn4
.byte W36
@ 012 ----------------------------------------
.byte W96
@ 013 ----------------------------------------
.byte W96
@ 014 ----------------------------------------
.byte W96
@ 015 ----------------------------------------
.byte W96
@ 016 ----------------------------------------
.byte W96
@ 017 ----------------------------------------
.byte W96
@ 018 ----------------------------------------
.byte W96
@ 019 ----------------------------------------
.byte W96
@ 020 ----------------------------------------
.byte W96
@ 021 ----------------------------------------
.byte W96
@ 022 ----------------------------------------
.byte W96
@ 023 ----------------------------------------
.byte W96
@ 024 ----------------------------------------
.byte W96
@ 025 ----------------------------------------
.byte W96
@ 026 ----------------------------------------
.byte W96
@ 027 ----------------------------------------
.byte GOTO
.word 00C8_8_loop
.byte W06
.byte FINE
@******************************************************@
.align 2
00C8:
.byte 8 @ NumTrks
.byte 0 @ NumBlks
.byte 00C8_pri @ Priority
.byte 00C8_rev @ Reverb.
.word 00C8_grp
.word 00C8_1
.word 00C8_2
.word 00C8_3
.word 00C8_4
.word 00C8_5
.word 00C8_6
.word 00C8_7
.word 00C8_8
.end



I also attached this .s file, the .s file name is 00C8.s, you can try to assembly for test this .s file. Why I will failed to looping back to the song? All .s file and midi is inside my "MYQuestionPack" at the attachments. Dowload it.
Hope someone can help me.

Thanks.
For the instrument, this can be done in your .s file. In the original song, see what number the instruments you want use in Sappy are (the pink number in Sappy when you click the triangle to expand the information). Then, open your .s file with Notepad, and find .byte VOICE and change the number behind it to the number that you previously looked at and wrote down. Then repeat for all tracks as all tracks have .byte VOICE.

For the looping, you forgot to add towards the end of the song (where the loop should kick in):

.byte GOTO
.word 00C8_1_loop

on each track (replacing 1 with 2 and so on for each track)
__________________

Man of Steel
He harbors no shame
Got cut a raw deal
But he holds no blame
Gone and forgot to feel
Numb for pretentious pain
As he spins the wheel
There's no loss nor no gain...


Nerves o
f Steel
He must remain
Even if it kills
To remember my name
A view to a thrill
Like Campari and Champagne
I'm on the rocks
Please tell me, What Is My Name?

  #22499    
Old August 17th, 2012 (07:57 AM).
looper's Avatar
looper
German Hacker
 
Join Date: Aug 2010
Location: Germany
Gender: Male
Nature: Lonely
Send a message via Skype™ to looper
Quote originally posted by looper:
Quick Question:
Thanks to pichu2000's Tutorial I know that the data that links the data (maps, events, scripts and texts) is stored in the file a/0/1/3. Where is the data stored in DPP / HGSS?
And a second question: Are the commands used for scripting the same in DPP and HGSS?
Asked in the wrong topic, so here again :D
__________________
I'm not a god. But Chuck Norris isn't, too.
  #22500    
Old August 17th, 2012 (12:26 PM). Edited August 17th, 2012 by mrjimi16.
mrjimi16
Beginning Trainer
 
Join Date: Aug 2010
Gender: Male
Quote originally posted by Spherical Ice:
Oh, right, you are right there. I think I meant to say they're only really safe from being overwritten in the duration of a script. But for the intent of mrjimi, it won't work D:
Well shoot. I had hoped to avoid having to use variables because this is for the name of the starter and I have 9 different potential starters. I know what I can do using certain specials and special2s, but that will be a lot of work that I'd rather not do. Is there another kind of string-saving function in the game?

Quote originally posted by EHero70:
Ok weird thing. One my warp isnt working in my cave. Everything is good and the unknown value is set to 3. Also one of my ladders suddenly stopped working and it wont warp me anymore. Its unknown value is 4. Finally when ever I step on theese to blocks in my game my game freezes and crashes. I need help desperately
This time I think I figured it out. If by not working you mean that when you step onto a warp it tries to warp but once the screen goes black it never fades back in, then check if you have any level scripts that point to empty bytes. I had this issue a few days ago.
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

Forum Jump


All times are UTC -8. The time now is 06:13 AM.