Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Reply
 
Thread Tools
  #26    
Old April 10th, 2011 (7:09 PM). Edited April 10th, 2011 by Meta Paradox.
Meta Paradox Meta Paradox is offline
Researching FireRed...
     
    Join Date: Apr 2011
    Gender: Male
    Nature: Serious
    Posts: 56
    Quote:
    Originally Posted by prime-dialga View Post
    ...
    @Meta Paradox
    you can use the XSE and comparefarbytetobyte or ASM and something like this
    Code:
    [...]
    .equ Statusbyte, <here your Offset>
    [...]
    ldr r0, =Statusbyte
    ldrb r0, [r0]
    [...]
    ...
    I'm sorry, I have no idea how to do this. Is there any other method? I have some knowledge in XSE scripting, but absolutely none about ASM hacking. Pardon me, can you provide a script that I can just assign in Advance Map to display the status? Thank you so much!
    __________________
    Meta Paradox On The Web:
    http://metaparadox.webs.com/
    Reply With Quote

    Relevant Advertising!

      #27    
    Old April 10th, 2011 (9:32 PM). Edited April 10th, 2011 by jirachiwishmaker.
    jirachiwishmaker's Avatar
    jirachiwishmaker jirachiwishmaker is offline
       
      Join Date: Jul 2007
      Location: Forina
      Gender: Male
      Nature: Lonely
      Posts: 75
      I was using EZ-Flash 3 (supports RTC) to play, although I setted the time in the nightfall or others, but the palette always was the dark blue.
      Reply With Quote
        #28    
      Old April 11th, 2011 (2:22 AM).
      Darthatron's Avatar
      Darthatron Darthatron is offline
      巨大なトロール。
      • Silver Tier
       
      Join Date: Jan 2006
      Location: Melbourne, Australia
      Age: 25
      Gender: Male
      Nature: Modest
      Posts: 1,152
      Quote:
      Originally Posted by jirachiwishmaker View Post
      I was using EZ-Flash 3 (supports RTC) to play, although I setted the time in the nightfall or others, but the palette always was the dark blue.
      If I'm not mistaken, this RTC is only supported by emulators, as it reads from the computers clock.
      __________________
      あなた は しきしゃ です
      わたし は ばか です
      Reply With Quote
        #29    
      Old April 11th, 2011 (5:51 AM).
      Diegoisawesome's Avatar
      Diegoisawesome Diegoisawesome is offline
      Oh god the bees
      • Silver Tier
       
      Join Date: Dec 2007
      Location: :noitacoL
      Age: 20
      Gender: Male
      Nature: Naive
      Posts: 1,035
      Another thing:
      Could you change the ordering of the Day and Night System around a bit so that it always updates the status byte, even indoors or in places where the system is not actively shown on-screen (like in caves)?
      __________________


      My other resources:
      My Website
      diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
      diegoisawesome's Miscellaneous Finds
      The Ruins of Alph Puzzles
      Diego's Miscellaneous Patches
      GBA Intro Manager
      The Secret Sauce: Triple-Layer Tiles
      Reply With Quote
        #30    
      Old April 11th, 2011 (7:49 AM).
      prime-dialga's Avatar
      prime-dialga prime-dialga is offline
      pure darkness
         
        Join Date: Dec 2009
        Gender: Male
        Posts: 28
        @Fireworks
        I have such a function in a private DAN-Version, but i didn't want to release it.

        @diegoisawesome
        I'll look at this things, maybe a function will be added.
        Reply With Quote
          #31    
        Old April 11th, 2011 (12:12 PM).
        Diegoisawesome's Avatar
        Diegoisawesome Diegoisawesome is offline
        Oh god the bees
        • Silver Tier
         
        Join Date: Dec 2007
        Location: :noitacoL
        Age: 20
        Gender: Male
        Nature: Naive
        Posts: 1,035
        Quote:
        Originally Posted by prime-dialga View Post
        @Fireworks
        I have such a function in a private DAN-Version, but i didn't want to release it.

        @diegoisawesome
        I'll look at this things, maybe a function will be added.
        Awesome, thanks.
        By the way, I think you have to correct the description of the RTC - the "0x00" byte in between day and hour is the day of the week, just to let you know.
        __________________


        My other resources:
        My Website
        diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
        diegoisawesome's Miscellaneous Finds
        The Ruins of Alph Puzzles
        Diego's Miscellaneous Patches
        GBA Intro Manager
        The Secret Sauce: Triple-Layer Tiles
        Reply With Quote
          #32    
        Old April 12th, 2011 (9:59 PM).
        jirachiwishmaker's Avatar
        jirachiwishmaker jirachiwishmaker is offline
           
          Join Date: Jul 2007
          Location: Forina
          Gender: Male
          Nature: Lonely
          Posts: 75
          Quote:
          Originally Posted by Darthatron View Post
          If I'm not mistaken, this RTC is only supported by emulators, as it reads from the computers clock.
          Yup! Really like this. The day night system that made by Interdpth & ZodiacDaGreat functions when the clock that inside the game running, it is more useful for me, but got a bug. When I change the pokemon or use the item from the bag and then return back to the battle frame, it was halted. And it halted when the battle background palette changes along with the time periods of morning, afternoon, evening and night. So I decide to install DNS in my hack rom, but unfortunately interdpth's RTC doesn't support R/S/Em's clock.
          Reply With Quote
            #33    
          Old April 14th, 2011 (7:20 AM).
          prime-dialga's Avatar
          prime-dialga prime-dialga is offline
          pure darkness
             
            Join Date: Dec 2009
            Gender: Male
            Posts: 28
            @diegoisawesome
            nop, it isn't. When i test the script it was everytime 0x00.
            Reply With Quote
              #34    
            Old April 14th, 2011 (8:28 AM).
            Derlo's Avatar
            Derlo Derlo is offline
            Working on Essence of light...
               
              Join Date: Aug 2007
              Posts: 129
              Quote:
              Originally Posted by prime-dialga View Post
              @diegoisawesome
              nop, it isn't. When i test the script it was everytime 0x00.
              I had this same problem.
              It was resolved when I started using VBA 1.8.0 Beta 3.

              Have you ever tried to use it?
              __________________



              Pokémon
              Essence of Light

              Comming Soon...
              Reply With Quote
                #35    
              Old April 14th, 2011 (2:23 PM).
              Diegoisawesome's Avatar
              Diegoisawesome Diegoisawesome is offline
              Oh god the bees
              • Silver Tier
               
              Join Date: Dec 2007
              Location: :noitacoL
              Age: 20
              Gender: Male
              Nature: Naive
              Posts: 1,035
              Quote:
              Originally Posted by prime-dialga View Post
              @diegoisawesome
              nop, it isn't. When i test the script it was everytime 0x00.
              Yes, it is. I'm looking at it right now, in fact, and it says 0x04 (Thursday) correctly.
              __________________


              My other resources:
              My Website
              diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
              diegoisawesome's Miscellaneous Finds
              The Ruins of Alph Puzzles
              Diego's Miscellaneous Patches
              GBA Intro Manager
              The Secret Sauce: Triple-Layer Tiles
              Reply With Quote
                #36    
              Old April 16th, 2011 (8:22 AM).
              r0bert's Avatar
              r0bert r0bert is offline
              Quitifyingly awesome.
                 
                Join Date: Jul 2010
                Location: kewl places
                Gender: Male
                Nature: Naughty
                Posts: 370
                Quote:
                Originally Posted by prime-dialga View Post
                @Fireworks
                I have such a function in a private DAN-Version, but i didn't want to release it.
                but what function do the seasons have,if we can't change the palletes?
                __________________
                Reply With Quote
                  #37    
                Old April 17th, 2011 (5:34 PM).
                Diegoisawesome's Avatar
                Diegoisawesome Diegoisawesome is offline
                Oh god the bees
                • Silver Tier
                 
                Join Date: Dec 2007
                Location: :noitacoL
                Age: 20
                Gender: Male
                Nature: Naive
                Posts: 1,035
                Hey, prime-dialga: there's an odd glitch with the Day and Night system where double battles do not have any palettes not affected; they all change, much like outdoors. I don't know about any other region, but it affects BPEE.
                __________________


                My other resources:
                My Website
                diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
                diegoisawesome's Miscellaneous Finds
                The Ruins of Alph Puzzles
                Diego's Miscellaneous Patches
                GBA Intro Manager
                The Secret Sauce: Triple-Layer Tiles
                Reply With Quote
                  #38    
                Old April 17th, 2011 (10:03 PM).
                mikocoon mikocoon is offline
                error? who cares?
                   
                  Join Date: Jan 2010
                  Location: indonesia
                  Age: 24
                  Gender: Male
                  Nature: Quiet
                  Posts: 20
                  can someone show what should we insert in season header editor in raw emerald rom.
                  (i confusing about this header, still beginner)
                  __________________
                  myself:
                  Reply With Quote
                    #39    
                  Old April 18th, 2011 (6:32 AM).
                  prime-dialga's Avatar
                  prime-dialga prime-dialga is offline
                  pure darkness
                     
                    Join Date: Dec 2009
                    Gender: Male
                    Posts: 28
                    @Derlo & diegoisawesome >DAN
                    maybe it's the ROM-Version or the VBA-Version. I don't know, but il make it possible for all ROMs in all VBA-Versions! (later )

                    @r0bert
                    You can change the tilesets...

                    @diegoisawesome >double battles
                    I'll try to fix this.
                    Reply With Quote
                      #40    
                    Old April 18th, 2011 (10:46 AM).
                    Quilava's Master's Avatar
                    Quilava's Master Quilava's Master is offline
                    Shattered Dreams '13
                       
                      Join Date: Jul 2007
                      Nature: Adamant
                      Posts: 694
                      I also have the DAN Double Battle issue. I'm using BPRE
                      __________________
                      The return of Pokemon Shattered Dreams! Click the screenshot to visit the thread, you know you want to.
                      Reply With Quote
                        #41    
                      Old April 27th, 2011 (7:58 AM).
                      pabioxxx pabioxxx is offline
                         
                        Join Date: Aug 2010
                        Gender: Male
                        Posts: 32
                        Well i have one question. Will eevee evolve into umbreon or espeon when I install RTC into FR ROM?
                        Reply With Quote
                          #42    
                        Old April 27th, 2011 (10:27 AM).
                        Joshuablevins Joshuablevins is offline
                           
                          Join Date: Jul 2010
                          Gender: Male
                          Posts: 69
                          Quote:
                          Originally Posted by pabioxxx View Post
                          Well i have one question. Will eevee evolve into umbreon or espeon when I install RTC into FR ROM?
                          No this RTC from what i understand only make there a day and night difference we would have to make an ASM hack to make it check if the happiness is max and check whether it is day or night in order for eevee to evolve into espeon or umbreon.

                          now that i think about it im going to go learn me some asm and start on this
                          __________________
                          Reply With Quote
                            #43    
                          Old April 27th, 2011 (1:07 PM).
                          pabioxxx pabioxxx is offline
                             
                            Join Date: Aug 2010
                            Gender: Male
                            Posts: 32
                            Hmm, I must say that this program is awesome, but it dones't work in my hack (I have changed some tiles and palletes), only on clean ROM. Can someone tell me what is the reason of that, and what should I do to include it into my hack ??
                            Reply With Quote
                              #44    
                            Old May 10th, 2011 (4:08 AM).
                            Meta Paradox Meta Paradox is offline
                            Researching FireRed...
                               
                              Join Date: Apr 2011
                              Gender: Male
                              Nature: Serious
                              Posts: 56
                              Quote:
                              Originally Posted by diegoisawesome View Post
                              Awesome, thanks.
                              By the way, I think you have to correct the description of the RTC - the "0x00" byte in between day and hour is the day of the week, just to let you know.
                              Um, diegoisawesome? How do you display the day of the week in a script? Like, can you show an example script for this? 'Cause I kinda learned the hour and date from decompiling scripts, but I've never seen one with this feature before. Can 'ya (or anyone) help me?
                              __________________
                              Meta Paradox On The Web:
                              http://metaparadox.webs.com/
                              Reply With Quote
                                #45    
                              Old May 10th, 2011 (1:52 PM).
                              Diegoisawesome's Avatar
                              Diegoisawesome Diegoisawesome is offline
                              Oh god the bees
                              • Silver Tier
                               
                              Join Date: Dec 2007
                              Location: :noitacoL
                              Age: 20
                              Gender: Male
                              Nature: Naive
                              Posts: 1,035
                              Quote:
                              Originally Posted by Meta Paradox View Post
                              Um, diegoisawesome? How do you display the day of the week in a script? Like, can you show an example script for this? 'Cause I kinda learned the hour and date from decompiling scripts, but I've never seen one with this feature before. Can 'ya (or anyone) help me?
                              Well, you have to read the byte and then buffer the correct day of the week text.
                              0x0 = Sunday, 0x1 = Monday, etc.
                              __________________


                              My other resources:
                              My Website
                              diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
                              diegoisawesome's Miscellaneous Finds
                              The Ruins of Alph Puzzles
                              Diego's Miscellaneous Patches
                              GBA Intro Manager
                              The Secret Sauce: Triple-Layer Tiles
                              Reply With Quote
                                #46    
                              Old May 11th, 2011 (10:41 AM).
                              pabioxxx pabioxxx is offline
                                 
                                Join Date: Aug 2010
                                Gender: Male
                                Posts: 32
                                Quote:
                                Originally Posted by diegoisawesome View Post
                                Well, you have to read the byte and then buffer the correct day of the week text.
                                0x0 = Sunday, 0x1 = Monday, etc.
                                compare 0xFFFF 0x0
                                if 0x1 goto @sunday
                                compare 0xFFFF 0x1
                                if 0x1 goto @monday
                                etc...

                                Ok but I don't know where variable is saved. What should I write in place of FFFF ??
                                Reply With Quote
                                  #47    
                                Old May 11th, 2011 (12:30 PM).
                                prime-dialga's Avatar
                                prime-dialga prime-dialga is offline
                                pure darkness
                                   
                                  Join Date: Dec 2009
                                  Gender: Male
                                  Posts: 28
                                  you can try

                                  comparefarbytetobyte [pointer] [byte]
                                  Reply With Quote
                                    #48    
                                  Old May 15th, 2011 (2:44 AM).
                                  Meta Paradox Meta Paradox is offline
                                  Researching FireRed...
                                     
                                    Join Date: Apr 2011
                                    Gender: Male
                                    Nature: Serious
                                    Posts: 56
                                    Quote:
                                    Originally Posted by diegoisawesome View Post
                                    Well, you have to read the byte and then buffer the correct day of the week text.
                                    0x0 = Sunday, 0x1 = Monday, etc.
                                    Sorry, prime, I don't get it. How do you use comparefarbytetobyte? I'll research it sometime, though. :D

                                    Anyway, diegoisawesome, what variable should be read by the game? I'll base my example from pabloxxx's:

                                    Code:
                                    #dynamic 0x[FSF Offset]
                                    #org @start
                                    compare 0x[RTC Var] 0x0 //If I'm not mistaken, this checks if it's a Sunday, right?
                                    if 0x1 goto @sunday
                                    ...
                                    #org @sunday
                                    = It's a Sunday.
                                    Would this script work accordingly? And if it does, what would be the variable needed to read the byte?
                                    __________________
                                    Meta Paradox On The Web:
                                    http://metaparadox.webs.com/
                                    Reply With Quote
                                      #49    
                                    Old May 15th, 2011 (8:12 AM).
                                    colcolstyles's Avatar
                                    colcolstyles colcolstyles is offline
                                    Yours truly
                                    • Crystal Tier
                                     
                                    Join Date: May 2008
                                    Location: The Bay Area
                                    Gender: Male
                                    Nature: Lonely
                                    Posts: 1,584
                                    Quote:
                                    Originally Posted by Meta Paradox View Post
                                    Sorry, prime, I don't get it. How do you use comparefarbytetobyte? I'll research it sometime, though. :D

                                    Anyway, diegoisawesome, what variable should be read by the game? I'll base my example from pabloxxx's:

                                    Code:
                                    #dynamic 0x[FSF Offset]
                                    #org @start
                                    compare 0x[RTC Var] 0x0 //If I'm not mistaken, this checks if it's a Sunday, right?
                                    if 0x1 goto @sunday
                                    ...
                                    #org @sunday
                                    = It's a Sunday.
                                    Would this script work accordingly? And if it does, what would be the variable needed to read the byte?
                                    No, 'goto' branches to another script segment. You currently have it branching to a string. You'd have to create a new script segment with a 'msgbox' command for it to work.
                                    __________________

                                    Brother of Vrai
                                    Reply With Quote
                                      #50    
                                    Old May 15th, 2011 (11:52 PM).
                                    Meta Paradox Meta Paradox is offline
                                    Researching FireRed...
                                       
                                      Join Date: Apr 2011
                                      Gender: Male
                                      Nature: Serious
                                      Posts: 56
                                      Quote:
                                      Originally Posted by colcolstyles View Post
                                      No, 'goto' branches to another script segment. You currently have it branching to a string. You'd have to create a new script segment with a 'msgbox' command for it to work.
                                      Hmm... so will this work?

                                      Code:
                                      #dynamic 0x[FSF Offset]
                                      #org @start
                                      compare 0x[RTC Var] 0x0
                                      if 0x1 goto @sunday
                                      ...
                                      #org @sunday
                                      msgbox @sunday2 0x2
                                      end
                                      
                                      #org @sunday2
                                      = It's a Sunday.
                                      __________________
                                      Meta Paradox On The Web:
                                      http://metaparadox.webs.com/
                                      Reply With Quote
                                      Reply
                                      Quick Reply

                                      Sponsored Links
                                      Thread Tools

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

                                      BB code is On
                                      Smilies are On
                                      [IMG] code is On
                                      HTML code is Off

                                      Forum Jump


                                      All times are GMT -8. The time now is 10:10 AM.