ROM Hacking Need a helping hand? You can get help on any ROM Hacking-related problems or questions you have here.

TrollandToad.com
Closed Thread
 
Thread Tools
  #22476    
Old August 16th, 2012 (10:04 AM).
Hovde's Avatar
Hovde Hovde is offline
     
    Join Date: Jul 2012
    Location: Arlington WA
    Age: 21
    Gender: Male
    Nature: Quiet
    Posts: 53
    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?

    Relevant Advertising!

      #22477    
    Old August 16th, 2012 (1:56 PM).
    mrjimi16 mrjimi16 is offline
       
      Join Date: Aug 2010
      Gender: Male
      Posts: 73
      Quote:
      Originally Posted by Hovde View Post
      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.
        #22478    
      Old August 16th, 2012 (4:38 PM).
      crowlover crowlover is offline
         
        Join Date: Aug 2012
        Gender: Male
        Posts: 15
        What are the offsets for the tile behaviors and usage of HMs by selecting a Pokemon in Fire Red?
          #22479    
        Old August 16th, 2012 (5:45 PM).
        mrjimi16 mrjimi16 is offline
           
          Join Date: Aug 2010
          Gender: Male
          Posts: 73
          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?
            #22480    
          Old August 16th, 2012 (6:19 PM).
          Spherical Ice's Avatar
          Spherical Ice Spherical Ice is offline
          • Crystal Tier
           
          Join Date: Nov 2007
          Location: Bristol, UK
          Age: 19
          Posts: 5,231
          Nope, buffers are only stored for the duration of the script.
          __________________

          A Pokemon that is discriminated!
          Support squirtle and make it everyone's favourite.
            #22481    
          Old August 16th, 2012 (6:39 PM). Edited August 16th, 2012 by redriders180.
          redriders180's Avatar
          redriders180 redriders180 is offline
          Mastermind of Pokemon Glazed
             
            Join Date: Jun 2010
            Location: Path of Victory, Tunod
            Gender: Male
            Nature: Quirky
            Posts: 540
            Quote:
            Originally Posted by crowlover View Post
            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 View Post
            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.
            __________________


            I think I'm done with ROM hacking. I'll still pop in and visit, though.


              #22482    
            Old August 16th, 2012 (6:53 PM).
            Spherical Ice's Avatar
            Spherical Ice Spherical Ice is offline
            • Crystal Tier
             
            Join Date: Nov 2007
            Location: Bristol, UK
            Age: 19
            Posts: 5,231
            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:
            __________________

            A Pokemon that is discriminated!
            Support squirtle and make it everyone's favourite.
              #22483    
            Old August 16th, 2012 (11:15 PM).
            EHero70's Avatar
            EHero70 EHero70 is offline
               
              Join Date: Jul 2012
              Location: Connecticut
              Gender: Male
              Nature: Bold
              Posts: 39
              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
                #22484    
              Old August 17th, 2012 (2:06 AM). Edited August 17th, 2012 by Banjora Marxvile.
              Banjora Marxvile's Avatar
              Banjora Marxvile Banjora Marxvile is offline
              hOI!!!!!! i'm tEMMIE!!
                 
                Join Date: May 2008
                Age: 23
                Gender: Male
                Nature: Bashful
                Posts: 3,487
                Quote:
                Originally Posted by LugiaMZ View Post
                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)
                __________________


                Temmie vibrates intensely.

                awwAwa cute!! (pets u)

                OMG!! humans TOO CUTE (dies)

                can't blame a BARK for tryin'...

                RATED TEM OUTTA TEM.

                  #22485    
                Old August 17th, 2012 (7:57 AM).
                looper's Avatar
                looper looper is offline
                German Hacker
                   
                  Join Date: Aug 2010
                  Location: Germany
                  Gender: Male
                  Nature: Lonely
                  Posts: 53
                  Quote:
                  Originally Posted by looper View Post
                  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.
                    #22486    
                  Old August 17th, 2012 (12:26 PM). Edited August 17th, 2012 by mrjimi16.
                  mrjimi16 mrjimi16 is offline
                     
                    Join Date: Aug 2010
                    Gender: Male
                    Posts: 73
                    Quote:
                    Originally Posted by Spherical Ice View Post
                    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 View Post
                    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.
                      #22487    
                    Old August 17th, 2012 (1:52 PM).
                    Ach7AC's Avatar
                    Ach7AC Ach7AC is offline
                       
                      Join Date: Jun 2012
                      Gender: Male
                      Posts: 146
                      Quick questions, all for FireRed:
                      Anyone know how to add over 8 badges in the game? Such as how Wesley and LaZ added two full regions in their hacks? I've been trying to do it via attempting to set several flags, but so far, I've had no luck.
                      Another one. How exactly do I set the battle theme for each character? And if I try to set another trainer as a gym leader via AT, their music remains the same. Is there a way to change this? Thanks in advanced!
                        #22488    
                      Old August 17th, 2012 (3:19 PM).
                      redriders180's Avatar
                      redriders180 redriders180 is offline
                      Mastermind of Pokemon Glazed
                         
                        Join Date: Jun 2010
                        Location: Path of Victory, Tunod
                        Gender: Male
                        Nature: Quirky
                        Posts: 540
                        Quote:
                        Originally Posted by mrjimi16 View Post
                        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?
                        My hack also has more than the usual three starters, and I approached it this way: Store the species number in a variable. Then, use bufferpokemon 0x0 0xVAR_NUMBER, with var_number being the variable holding the species number. This doesn't preserve nicknames, of course...there's always a way, and you'll probably have to do alot of work. I have an idea about storing the nickname to five variables, if necessary, so try working from that.

                        Quote:
                        Originally Posted by Ach7AC View Post
                        Quick questions, all for FireRed:
                        Anyone know how to add over 8 badges in the game? Such as how Wesley and LaZ added two full regions in their hacks? I've been trying to do it via attempting to set several flags, but so far, I've had no luck.
                        Another one. How exactly do I set the battle theme for each character? And if I try to set another trainer as a gym leader via AT, their music remains the same. Is there a way to change this? Thanks in advanced!
                        I believe that they simply use eight more flags then the usual, to dictate the eight new badges. They aren't displayed on the trainer card, though, unless you do a little ASM.
                        __________________


                        I think I'm done with ROM hacking. I'll still pop in and visit, though.


                          #22489    
                        Old August 17th, 2012 (5:06 PM).
                        mrjimi16 mrjimi16 is offline
                           
                          Join Date: Aug 2010
                          Gender: Male
                          Posts: 73
                          Quote:
                          Originally Posted by redriders180 View Post
                          My hack also has more than the usual three starters, and I approached it this way: Store the species number in a variable. Then, use bufferpokemon 0x0 0xVAR_NUMBER, with var_number being the variable holding the species number. This doesn't preserve nicknames, of course...there's always a way, and you'll probably have to do alot of work. I have an idea about storing the nickname to five variables, if necessary, so try working from that.
                          I thought that the second argument in a bufferpokemon command was a value and not a variable.
                            #22490    
                          Old August 17th, 2012 (5:21 PM).
                          redriders180's Avatar
                          redriders180 redriders180 is offline
                          Mastermind of Pokemon Glazed
                             
                            Join Date: Jun 2010
                            Location: Path of Victory, Tunod
                            Gender: Male
                            Nature: Quirky
                            Posts: 540
                            Quote:
                            Originally Posted by mrjimi16 View Post
                            I thought that the second argument in a bufferpokemon command was a value and not a variable.
                            The second parameter of the bufferpokemon command is a halfword, and the general rule of thumb is that if the parameter is a halfword, then a variable can be substituted in. It will buffer the species name indicated by that variable, of course.
                            __________________


                            I think I'm done with ROM hacking. I'll still pop in and visit, though.


                              #22491    
                            Old August 17th, 2012 (6:10 PM).
                            Ashera's Avatar
                            Ashera Ashera is offline
                            Mysterious Kitsune
                               
                              Join Date: May 2011
                              Location: Halfway between my imagination and cyberspace
                              Gender: Female
                              Nature: Bold
                              Posts: 17
                              I'm sorry if this was asked/answered before, but looking through 901 pages is sort of impossible.

                              The text that one character in littleroot town is supposed to say is getting spliced with another's, and if I fix it, then that one's text is replaced by the end of the first one's.
                              __________________
                              Black Version Friend Code: 5243-1306-8096
                                #22492    
                              Old August 17th, 2012 (7:36 PM). Edited August 17th, 2012 by c3pu.
                              c3pu's Avatar
                              c3pu c3pu is offline
                                 
                                Join Date: Aug 2012
                                Gender: Male
                                Posts: 9
                                i dont know if this as been ask before(classic we all say that) but here i go
                                i want to know how to change may's sprites (back sprite, trainer card, overworld all of them) in emerald cause i dont like the green clothe she as in emerald. so i want to replace it by the red version like in ruby and the anime


                                by the way as this might be related im on win 7 and tried to index sprite for ruby and red before and could not make it work at some point the pallet gets reset and it wont index
                                  #22493    
                                Old August 17th, 2012 (8:35 PM).
                                Ivantis Ivantis is offline
                                   
                                  Join Date: Mar 2012
                                  Gender: Male
                                  Posts: 1
                                  Is there any way I can edit a pokemon's icon (the mini sprite in the party window / pc) now that Wichu's editor has gone offline? or did i just join this craze too late?
                                    #22494    
                                  Old August 17th, 2012 (8:49 PM).
                                  thanethane98's Avatar
                                  thanethane98 thanethane98 is offline
                                  Self Proclaimed Expert
                                     
                                    Join Date: Jun 2012
                                    Nature: Relaxed
                                    Posts: 83
                                    Quote:
                                    Originally Posted by Ashera View Post
                                    I'm sorry if this was asked/answered before, but looking through 901 pages is sort of impossible.

                                    The text that one character in littleroot town is supposed to say is getting spliced with another's, and if I fix it, then that one's text is replaced by the end of the first one's.
                                    I've had this issue before, there's really only one reliable way to solve it. Simply give them new scripts, and the problem should go away. I'm not really an expert on this, but my guess is that the text put in is larger than the old amount was, so it pours over into other data (aka the other person's text). As I said, I'm not an expert on this though.

                                    Anyways, I've got a question. Does anybody know where the script offset is for the first rival battle in Firered? I've actually deleted all the map scripts in Oak's Lab in my hack, but when I get the first pokemon and leave, the battle still happens.
                                    __________________
                                    Back and ROM hacking again!
                                      #22495    
                                    Old August 17th, 2012 (10:27 PM).
                                    tajaros's Avatar
                                    tajaros tajaros is offline
                                    Hi I'm dawg
                                       
                                      Join Date: Apr 2012
                                      Location: Philippines
                                      Age: 18
                                      Gender: Male
                                      Nature: Timid
                                      Posts: 857
                                      Quote:
                                      Originally Posted by c3pu View Post
                                      i dont know if this as been ask before(classic we all say that) but here i go
                                      i want to know how to change may's sprites (back sprite, trainer card, overworld all of them) in emerald cause i dont like the green clothe she as in emerald. so i want to replace it by the red version like in ruby and the anime


                                      by the way as this might be related im on win 7 and tried to index sprite for ruby and red before and could not make it work at some point the pallet gets reset and it wont index
                                      So you want Red's Sprite Indexed?

                                      Here's Red Sprite 100% Indexed you'll just have to insert it... Also If your using paint to do this why not use Gimp or Photoshop that might help...

                                      NOTE: You can just rip those sprites from UNLZ or NSE, then just insert them to your ROM...



                                      Quote:
                                      Originally Posted by Ivantis View Post
                                      Is there any way I can edit a pokemon's icon (the mini sprite in the party window / pc) now that Wichu's editor has gone offline? or did i just join this craze too late?
                                      Yes, you can use IconEd, download those of google and I think some guys have some copies of the Advanced Series on the Internet search for them...

                                      Quote:
                                      Originally Posted by thanethane98 View Post
                                      I've had this issue before, there's really only one reliable way to solve it. Simply give them new scripts, and the problem should go away. I'm not really an expert on this, but my guess is that the text put in is larger than the old amount was, so it pours over into other data (aka the other person's text). As I said, I'm not an expert on this though.

                                      Anyways, I've got a question. Does anybody know where the script offset is for the first rival battle in Firered? I've actually deleted all the map scripts in Oak's Lab in my hack, but when I get the first pokemon and leave, the battle still happens.
                                      Here's the offset,

                                      Left Script Box - 0x1692E7/001692E7
                                      Middle Script Box - 0x1692F3/001692F3
                                      Right Script Box - 0x1692FF/001692FF

                                      And you might have deleted the map scripts but, have you deleted the script boxes they're the one's in Green with an "S" Delete those and it will not happen again...
                                      __________________
                                        #22496    
                                      Old August 18th, 2012 (1:17 AM).
                                      Flannery Lue's Avatar
                                      Flannery Lue Flannery Lue is offline
                                      Soul Sister
                                         
                                        Join Date: Aug 2012
                                        Location: Salem, Oregon. USA
                                        Age: 26
                                        Gender: Female
                                        Nature: Rash
                                        Posts: 31
                                        Hello there. I am new to Pokemon ROM hacking in general.
                                        I found a Pokemon Emerald ROM from media fire, as well as Advanced Maps, and a few other tools. I spent roughly four days messing around in Advanced Maps, and PET, just to see if I could teach myself. I ended up reading "diegoisawesome's MEGA-HUGE XSE Scripting Tutorial" and learned a lot more than I even knew there was to learn about ROM hacking.

                                        My question is this:

                                        I want to "recreate" Pokemon Emerald, and add all of the regions, including the Sinnoh region. I am revamping all of the cities to make them look closer to how they did in the anime. (or as close as I can with 8-Bit Graphics Lmao.. )

                                        I am stuck on one of the gym battle scripts. I created it in "XSE" then I compiled it in Pokerscript, and burned it to the ROM. I set the script offset to the proper Hex, and it still seems not to work. Here is my script, hopefully someone can tell me were I messed up:

                                        '-----------------------
                                        #org 0x1FE78C
                                        0x1 0x10C 0x0 0x81FF0DC 0x81FF233 0x81FE7C1










                                        0x1 0x81FE864



                                        0x0 0x81FE81D
                                        msgbox 0x81FF546 '"Your power reminds me of someone[.]..."

                                        0x2F67026C

                                        '-----------------------
                                        #org 0x1FE7C1
                                        0x81FF32F '"[player] received the HEAT BADGE\nf..."
                                        '-----------------------
                                        #org 0x1FE864
                                        0x7 0x10C 0x0 0x81FF601 0x81FF69F 0x81FF75E
                                        '-----------------------
                                        #org 0x1FE81D
                                        giveitem 0x152 0x1 0x0

                                        '---------
                                        ' Strings
                                        '---------
                                        #org 0x1FF0DC
                                        = Welcome[.]Haven't I seen you somewere..?\pI guess it doesnt really matter. If you are here to battle,\nI hope you brought your A-Game, because I wont go down easy.\pI have beaten all of the gyms in the Kanto Region, and the Jhoto Region.[.]\nAlso, my Grandfather was Bruno in the Elite Four,\pSo you can see I have quite a reputation to keep.\nAre you ready...? Then lets go.\

                                        #org 0x1FF233
                                        = Oh wow...[.]\nYou are truly an outstanding TRAINER.[.]\p...I swear you look so familar. Do you live around here?[.]\nHaha.. I'm sorry for getting off topic.\pI haven't had a challenger at your skill level in a long time.\nI'm sure My Pokemon and I are out of pratcice from all the easy battles\pwe have been getting. Still, thats no excuse. So without\nfurther adieu here is the Heat Bage, along with my favourite\pTM; Overheat. Initially, Its a powerful Move, but after\nevery use, it cuts special attack.

                                        #org 0x1FF546
                                        = I still cant place were I have seen you...[.]\pMaybe one day I will figure it out.\nOh yah, your dad called me a few hours ago\pasking if you had passed through here.\nDon't look at me like that! Haha.. I'm sure he's just anxious to battle you.
                                        #org 0x1FF32F
                                        = [player] received the HEAT BADGE\nfrom FLANNERY.

                                        #org 0x1FF601
                                        = FLANNERY: Losing a battle isn't going\nto deflate me.\pI love Pokemon.\nI love to battle.\lAnd[.] I love this Gym!\pI want to have have another shot at beating you.\nThis time, I might win. So dont be surprised when \pI'ts you who is giving me the prize money.

                                        #org 0x1FF69F
                                        = Whew!\nOn the verge of eruption!

                                        #org 0x1FF75E
                                        = FLANNERY: Losing a battle isn't going\nto deflate me.\pI love Pokemon.\nI love to battle.\lAnd[.] I love this Gym!\pI want to have have another shot at beating you.\nThis time, I might win. So dont be surprised when \pI'ts you who is giving me the prize money.\pOh, wait. You only have one Pokemon\nthat can battle?\pI hate to say this, but you need to at least\nbring two Pokemon.
                                        __________________

                                        Love and Understand, Imagine and Believe. It will take you far.
                                          #22497    
                                        Old August 18th, 2012 (1:54 AM). Edited August 18th, 2012 by mrjimi16.
                                        mrjimi16 mrjimi16 is offline
                                           
                                          Join Date: Aug 2010
                                          Gender: Male
                                          Posts: 73
                                          Quote:
                                          Originally Posted by thanethane98 View Post
                                          I've had this issue before, there's really only one reliable way to solve it. Simply give them new scripts, and the problem should go away. I'm not really an expert on this, but my guess is that the text put in is larger than the old amount was, so it pours over into other data (aka the other person's text). As I said, I'm not an expert on this though.

                                          Anyways, I've got a question. Does anybody know where the script offset is for the first rival battle in Firered? I've actually deleted all the map scripts in Oak's Lab in my hack, but when I get the first pokemon and leave, the battle still happens.
                                          You don't quite have to give them new scripts; if you want to save as much space as possible, just figuring out where to put the new offset for one of the scripts in fine, just make sure that it isn't the one that is overwritten. The issue is that you put two scripts in too little space and they overlapped. Just find a bigger space.

                                          In answer to your question, the script is located at 0x1692F3. The weird bit about the script is that there is no checkflag or compare variable to keep it from starting after being started. Not that I have looked at it in depth nor the scripts around it all that much.

                                          Quote:
                                          Originally Posted by Flannery Lue View Post
                                          Hello there. I am new to Pokemon ROM hacking in general.
                                          I found a Pokemon Emerald ROM from media fire, as well as Advanced Maps, and a few other tools. I spent roughly four days messing around in Advanced Maps, and PET, just to see if I could teach myself. I ended up reading "diegoisawesome's MEGA-HUGE XSE Scripting Tutorial" and learned a lot more than I even knew there was to learn about ROM hacking.

                                          My question is this:

                                          I want to "recreate" Pokemon Emerald, and add all of the regions, including the Sinnoh region. I am revamping all of the cities to make them look closer to how they did in the anime. (or as close as I can with 8-Bit Graphics Lmao.. )

                                          I am stuck on one of the gym battle scripts. I created it in "XSE" then I compiled it in Pokerscript, and burned it to the ROM. I set the script offset to the proper Hex, and it still seems not to work. Here is my script, hopefully someone can tell me were I messed up:
                                          Spoiler:

                                          '-----------------------
                                          #org 0x1FE78C
                                          0x1 0x10C 0x0 0x81FF0DC 0x81FF233 0x81FE7C1










                                          0x1 0x81FE864



                                          0x0 0x81FE81D
                                          msgbox 0x81FF546 '"Your power reminds me of someone[.]..."

                                          0x2F67026C

                                          '-----------------------
                                          #org 0x1FE7C1
                                          0x81FF32F '"[player] received the HEAT BADGE\nf..."
                                          '-----------------------
                                          #org 0x1FE864
                                          0x7 0x10C 0x0 0x81FF601 0x81FF69F 0x81FF75E
                                          '-----------------------
                                          #org 0x1FE81D
                                          giveitem 0x152 0x1 0x0

                                          '---------
                                          ' Strings
                                          '---------
                                          #org 0x1FF0DC
                                          = Welcome[.]Haven't I seen you somewere..?\pI guess it doesnt really matter. If you are here to battle,\nI hope you brought your A-Game, because I wont go down easy.\pI have beaten all of the gyms in the Kanto Region, and the Jhoto Region.[.]\nAlso, my Grandfather was Bruno in the Elite Four,\pSo you can see I have quite a reputation to keep.\nAre you ready...? Then lets go.\

                                          #org 0x1FF233
                                          = Oh wow...[.]\nYou are truly an outstanding TRAINER.[.]\p...I swear you look so familar. Do you live around here?[.]\nHaha.. I'm sorry for getting off topic.\pI haven't had a challenger at your skill level in a long time.\nI'm sure My Pokemon and I are out of pratcice from all the easy battles\pwe have been getting. Still, thats no excuse. So without\nfurther adieu here is the Heat Bage, along with my favourite\pTM; Overheat. Initially, Its a powerful Move, but after\nevery use, it cuts special attack.

                                          #org 0x1FF546
                                          = I still cant place were I have seen you...[.]\pMaybe one day I will figure it out.\nOh yah, your dad called me a few hours ago\pasking if you had passed through here.\nDon't look at me like that! Haha.. I'm sure he's just anxious to battle you.
                                          #org 0x1FF32F
                                          = [player] received the HEAT BADGE\nfrom FLANNERY.

                                          #org 0x1FF601
                                          = FLANNERY: Losing a battle isn't going\nto deflate me.\pI love Pokemon.\nI love to battle.\lAnd[.] I love this Gym!\pI want to have have another shot at beating you.\nThis time, I might win. So dont be surprised when \pI'ts you who is giving me the prize money.

                                          #org 0x1FF69F
                                          = Whew!\nOn the verge of eruption!

                                          #org 0x1FF75E
                                          = FLANNERY: Losing a battle isn't going\nto deflate me.\pI love Pokemon.\nI love to battle.\lAnd[.] I love this Gym!\pI want to have have another shot at beating you.\nThis time, I might win. So dont be surprised when \pI'ts you who is giving me the prize money.\pOh, wait. You only have one Pokemon\nthat can battle?\pI hate to say this, but you need to at least\nbring two Pokemon.
                                          Now I have never used Pokescript, so keep that in mind, but it looks like you left out all of the commands and are left with only the arguments for those missing commands. And why all of that empty space?
                                            #22498    
                                          Old August 18th, 2012 (3:58 AM).
                                          Flannery Lue's Avatar
                                          Flannery Lue Flannery Lue is offline
                                          Soul Sister
                                             
                                            Join Date: Aug 2012
                                            Location: Salem, Oregon. USA
                                            Age: 26
                                            Gender: Female
                                            Nature: Rash
                                            Posts: 31
                                            Okay.. I re-read Diego's Tutorial, I entered the commands, but now I get this message telling me: "Floating pointer must be pushed."

                                            lol... Some help would be nice. I will post a screen shot of this message box, and I will post my "new" script to see if anyone can spot an error..

                                            Push Floating pointer..png







                                            Edited Script:


                                            #dynamic 0x800000

                                            #org @start
                                            lock
                                            faceplayer
                                            checkflag 0x86A
                                            if 0x1 goto @done
                                            msgbox @2 0x6
                                            trainerbattle 0x1 0x10C 0x0 @before @after @later
                                            end

                                            #org @before
                                            = Welcome to the Lavaridge Gym!\nHey... haven't I seen you\lsomewhere before..? I guess it\ldoesn't really matter. Are you here\lfor a battle? Well, if you are, I\lhope you brought your A-Game,\lbecause I will not go down easy.\lI have beaten all of the Gyms in\lthe Kanto, Jhoto and Sinnoh\lRegions.\lI am considered the "unoffical"\lchampion in the Sinnoh, and Kanto\lElite Four because I beat both\lprevous champions. Though I\ldeclined the title.\lBoth my grandparents were in the\lElite four as well; My Grandma was\lAgatha, and my Grandfather was\lBruno. As you can see, I have quite\la reputation to keep. Are you\lready? Then lets go.

                                            #org @after
                                            = Oh wow... You truly are an\noutstanding trainer.\l....I swear you look so familar. Do\lyou live around here?

                                            #org @later
                                            msgbox @3 0x6
                                            fanfare 0x13E
                                            msgbox @4 0x4
                                            waitfanfare
                                            closeonkeypress
                                            msgbox @5 0x6
                                            giveitem 0x338 0x1
                                            setflag 0x820
                                            release
                                            end

                                            #org @done
                                            msgbox @1 0x6
                                            release
                                            end

                                            #org @1
                                            = I still cant place were I have seen\nyou before...\lMaybe one day I will figure it out.\lOh ya, your dad called my PokeGear\la few hours ago asking if you\lpassed through here yet.\lDont look at me like that! Haha..\lI'm sure he's just anxiuos to\lbattle you.\l--Oh. That look was for my\lPokeGear? It's a device from the\lJhoto Region. Its alot more\ladvanced than the PokeNav.

                                            #org @2
                                            = Welcome to the Lavaridge Gym!\nHey... haven't I seen you\lsomewhere before..? I guess it\ldoesn't really matter. Are you here\lfor a battle? Well, if you are, I\lhope you brought your A-Game,\lbecause I will not go down easy.\lI have beaten all of the Gyms in\lthe Kanto, Jhoto and Sinnoh\lRegions.\lI am considered the "unoffical"\lchampion in the Sinnoh, and Kanto\lElite Four because I beat both\lprevous champions. Though I\ldeclined the title.\lBoth my grandparents were in the\lElite four as well; My Grandma was\lAgatha, and my Grandfather was\lBruno.

                                            #org @3
                                            = Haha... I'm\lsorry for getting off topic.\lI haven't fought against a trainer\lof your skill level for a few\lyears. I'm sure my Pokemon and I\lare out of practice from all the\leasy battles we have been getting.\lStill.. thats no excuse.

                                            #org @4
                                            = \v\h01 recieved the heat Badge!

                                            #org @5
                                            = So without\lfurther adieu, here is the Heat\lBadge, along with my favourite TM:\lOverheat. Initially, its a powerful\lmove, but after every use it cuts\lSpecial Attack.
                                            __________________

                                            Love and Understand, Imagine and Believe. It will take you far.
                                              #22499    
                                            Old August 18th, 2012 (4:14 AM).
                                            tajaros's Avatar
                                            tajaros tajaros is offline
                                            Hi I'm dawg
                                               
                                              Join Date: Apr 2012
                                              Location: Philippines
                                              Age: 18
                                              Gender: Male
                                              Nature: Timid
                                              Posts: 857
                                              Quote:
                                              Originally Posted by Flannery Lue View Post
                                              Okay.. I re-read Diego's Tutorial, I entered the commands, but now I get this message telling me: "Floating pointer must be pushed."

                                              lol... Some help would be nice. I will post a screen shot of this message box, and I will post my "new" script to see if anyone can spot an error..

                                              Attachment 65730







                                              Edited Script:


                                              #dynamic 0x800000

                                              #org @start
                                              lock
                                              faceplayer
                                              checkflag 0x86A
                                              if 0x1 goto @done
                                              msgbox @2 0x6
                                              trainerbattle 0x1 0x10C 0x0 @before @after @later
                                              end

                                              #org @before
                                              = Welcome to the Lavaridge Gym!\nHey... haven't I seen you\lsomewhere before..? I guess it\ldoesn't really matter. Are you here\lfor a battle? Well, if you are, I\lhope you brought your A-Game,\lbecause I will not go down easy.\lI have beaten all of the Gyms in\lthe Kanto, Jhoto and Sinnoh\lRegions.\lI am considered the "unoffical"\lchampion in the Sinnoh, and Kanto\lElite Four because I beat both\lprevous champions. Though I\ldeclined the title.\lBoth my grandparents were in the\lElite four as well; My Grandma was\lAgatha, and my Grandfather was\lBruno. As you can see, I have quite\la reputation to keep. Are you\lready? Then lets go.

                                              #org @after
                                              = Oh wow... You truly are an\noutstanding trainer.\l....I swear you look so familar. Do\lyou live around here?

                                              #org @later
                                              msgbox @3 0x6
                                              fanfare 0x13E
                                              msgbox @4 0x4
                                              waitfanfare
                                              closeonkeypress
                                              msgbox @5 0x6
                                              giveitem 0x338 0x1
                                              setflag 0x820
                                              release
                                              end

                                              #org @done
                                              msgbox @1 0x6
                                              release
                                              end

                                              #org @1
                                              = I still cant place were I have seen\nyou before...\lMaybe one day I will figure it out.\lOh ya, your dad called my PokeGear\la few hours ago asking if you\lpassed through here yet.\lDont look at me like that! Haha..\lI'm sure he's just anxiuos to\lbattle you.\l--Oh. That look was for my\lPokeGear? It's a device from the\lJhoto Region. Its alot more\ladvanced than the PokeNav.

                                              #org @2
                                              = Welcome to the Lavaridge Gym!\nHey... haven't I seen you\lsomewhere before..? I guess it\ldoesn't really matter. Are you here\lfor a battle? Well, if you are, I\lhope you brought your A-Game,\lbecause I will not go down easy.\lI have beaten all of the Gyms in\lthe Kanto, Jhoto and Sinnoh\lRegions.\lI am considered the "unoffical"\lchampion in the Sinnoh, and Kanto\lElite Four because I beat both\lprevous champions. Though I\ldeclined the title.\lBoth my grandparents were in the\lElite four as well; My Grandma was\lAgatha, and my Grandfather was\lBruno.

                                              #org @3
                                              = Haha... I'm\lsorry for getting off topic.\lI haven't fought against a trainer\lof your skill level for a few\lyears. I'm sure my Pokemon and I\lare out of practice from all the\leasy battles we have been getting.\lStill.. thats no excuse.

                                              #org @4
                                              = \v\h01 recieved the heat Badge!

                                              #org @5
                                              = So without\lfurther adieu, here is the Heat\lBadge, along with my favourite TM:\lOverheat. Initially, its a powerful\lmove, but after every use it cuts\lSpecial Attack.
                                              Olol why do you use buffrite to compile an XSE script use XSE to compile it too! xD

                                              Just make sure you have your ROM loaded in XSE and press the Compile button or the one that looks like a gear, and then copy the very first offset and put it up on A-map...

                                              Also if you want the script to continue after the battle you just have to change 0x1 to 0x3 and remove "@later and @after" and just continue the script...
                                              And also Trainerbattle 0x3 only accepts one pointer with it and it's the pointer that loads when you win just make a msgbox of the message to be said before the battle...
                                              __________________
                                                #22500    
                                              Old August 18th, 2012 (4:37 AM).
                                              Flannery Lue's Avatar
                                              Flannery Lue Flannery Lue is offline
                                              Soul Sister
                                                 
                                                Join Date: Aug 2012
                                                Location: Salem, Oregon. USA
                                                Age: 26
                                                Gender: Female
                                                Nature: Rash
                                                Posts: 31
                                                I'm starting to feel like I am becoming a nuisance...

                                                I cant really use XSE for anything other than writing the scripts. For some reason, the programme does not have a command database, and I don't know how to go about doing that. Here is a screen shot to show you what i mean:

                                                Command Database.png




                                                And I "tested" the script after you told me what to do, and when I talk to the gym leader, a multi choice box comes up with the options "yes/no/info"
                                                If I click yes, I get a message stating: "Hiker Sawer was registered in the PokeNav!" along with the corresponding music.

                                                If I click no, nothing happens. If I click Info, I get an infinite amount of text come up in a text box, then the whole screen freezes, and turns "static" blue and white.


                                                How do I "Restore" the command database? I would be really grateful if you could help me with this.
                                                ....I'm sorry for being such a newby.. but I have to start somewere.
                                                __________________

                                                Love and Understand, Imagine and Believe. It will take you far.
                                                Closed Thread

                                                Quick Reply

                                                Join the conversation!

                                                Create an account to post a reply in this thread, participate in other discussions, and more!

                                                Create a PokéCommunity Account

                                                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 GMT -8. The time now is 2:15 AM.