• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

Status
Not open for further replies.

karatekid552

What happens if I push it?....
1,771
Posts
11
Years
  • @karatekid552 - Thanks bro.

    I got a new question, this script:
    Code:
    Offset 92BFBA
    
    '-----------------------
    #org 0x92BFBA
    goto 0x89DB2AC
    end
    
    '-----------------------
    #org 0x9DB2AC
    call 0x892D901
    call 0x892BD97
    buffernumber 0x1 0x8006
    buffernumber 0x2 0x8007
    compare 0x8006 0xA
    if 0x0 goto 0x89DB2E5
    compare 0x8007 0xA
    if 0x0 goto 0x892BFE2
    msgbox 0x892BE44 '"Today is [buffer1], [buffer2]:[buff..."
    callstd 0x2
    release
    end
    
    '-----------------------
    #org 0x92D901
    copybyte 0x20370CA 0x300553D
    copybyte 0x20370CE 0x300553E
    copybyte 0x20370CC 0x300553F
    copybyte 0x20370C8 0x3005540
    copybyte 0x20370C2 0x3005541
    copybyte 0x20370C4 0x3005542
    copybyte 0x20370C6 0x3005543
    compare 0x8006 0x0
    if 0x1 call 0x892DB4F
    compare 0x8006 0x1
    if 0x1 call 0x892DB4F
    compare 0x8006 0x2
    if 0x1 call 0x892DB4F
    compare 0x8006 0x3
    if 0x1 call 0x892DB39
    compare 0x8006 0x4
    if 0x1 call 0x892DB39
    compare 0x8006 0x5
    if 0x1 call 0x892DB39
    compare 0x8006 0x6
    if 0x1 call 0x892DB44
    compare 0x8006 0x7
    if 0x1 call 0x892DB44
    compare 0x8006 0x8
    if 0x1 call 0x892DB44
    compare 0x8006 0x9
    if 0x1 call 0x892DB44
    compare 0x8006 0xA
    if 0x1 call 0x892DB44
    compare 0x8006 0xB
    if 0x1 call 0x892DB44
    compare 0x8006 0xC
    if 0x1 call 0x892DB44
    compare 0x8006 0xD
    if 0x1 call 0x892DB44
    compare 0x8006 0xE
    if 0x1 call 0x892DB44
    compare 0x8006 0xF
    if 0x1 call 0x892DB44
    compare 0x8006 0x10
    if 0x1 call 0x892DB44
    compare 0x8006 0x11
    if 0x1 call 0x892DB44
    compare 0x8006 0x12
    if 0x1 call 0x892DB44
    compare 0x8006 0x13
    if 0x1 call 0x892DB44
    compare 0x8006 0x14
    if 0x1 call 0x892DB44
    compare 0x8006 0x15
    if 0x1 call 0x892DB4F
    compare 0x8006 0x16
    if 0x1 call 0x892DB4F
    compare 0x8006 0x17
    if 0x1 call 0x892DB4F
    call 0x8972B24
    return
    
    '-----------------------
    #org 0x92BD97
    checkflag 0x17C2
    if 0x1 call 0x8973D17
    checkflag 0x17C2
    if 0x0 call 0x8973CC8
    return
    
    '-----------------------
    #org 0x9DB2E5
    compare 0x8007 0xA
    if 0x0 goto 0x89DB2FB
    msgbox 0x89DB305 '"Today is [buffer1], 0[buffer2]:[buf..."
    callstd 0x2
    release
    end
    
    '-----------------------
    #org 0x92BFE2
    msgbox 0x892D8EB '"Today is [buffer1], [buffer2]:0[buf..."
    callstd 0x2
    release
    end
    
    '-----------------------
    #org 0x92DB4F
    setflag 0x1765
    setflag 0x1764
    clearflag 0x1766
    return
    
    '-----------------------
    #org 0x92DB39
    setflag 0x1765
    setflag 0x1766
    clearflag 0x1764
    return
    
    '-----------------------
    #org 0x92DB44
    setflag 0x1764
    setflag 0x1766
    clearflag 0x1765
    return
    
    '-----------------------
    #org 0x972B24
    checkflag 0x17C2
    if 0x1 call 0x8972B38
    checkflag 0x17C2
    if 0x0 call 0x8972B87
    return
    
    '-----------------------
    #org 0x973D17
    compare 0x8005 0x0
    if 0x1 goto 0x892BDEE
    compare 0x8005 0x1
    if 0x1 goto 0x892BDF6
    compare 0x8005 0x2
    if 0x1 goto 0x892BDFE
    compare 0x8005 0x3
    if 0x1 goto 0x892BE24
    compare 0x8005 0x4
    if 0x1 goto 0x892BE2C
    compare 0x8005 0x5
    if 0x1 goto 0x892BE34
    compare 0x8005 0x6
    if 0x1 goto 0x892BE3C
    return
    
    '-----------------------
    #org 0x973CC8
    compare 0x8005 0x1
    if 0x1 goto 0x892BDEE
    compare 0x8005 0x2
    if 0x1 goto 0x892BDF6
    compare 0x8005 0x3
    if 0x1 goto 0x892BDFE
    compare 0x8005 0x4
    if 0x1 goto 0x892BE24
    compare 0x8005 0x5
    if 0x1 goto 0x892BE2C
    compare 0x8005 0x6
    if 0x1 goto 0x892BE34
    compare 0x8005 0x0
    if 0x1 goto 0x892BE3C
    return
    
    '-----------------------
    #org 0x9DB2FB
    msgbox 0x89E1F50 '"Today is [buffer1], 0[buffer2]:0[bu..."
    callstd 0x2
    end
    
    '-----------------------
    #org 0x972B38
    compare 0x8005 0x0
    if 0x1 call 0x892DA98
    compare 0x8005 0x1
    if 0x1 call 0x892DAAF
    compare 0x8005 0x2
    if 0x1 call 0x892DAC6
    compare 0x8005 0x3
    if 0x1 call 0x892DADD
    compare 0x8005 0x4
    if 0x1 call 0x892DAF4
    compare 0x8005 0x5
    if 0x1 call 0x892DB0B
    compare 0x8005 0x6
    if 0x1 call 0x892DB22
    return
    
    '-----------------------
    #org 0x972B87
    compare 0x8005 0x1
    if 0x1 call 0x892DA98
    compare 0x8005 0x2
    if 0x1 call 0x892DAAF
    compare 0x8005 0x3
    if 0x1 call 0x892DAC6
    compare 0x8005 0x4
    if 0x1 call 0x892DADD
    compare 0x8005 0x5
    if 0x1 call 0x892DAF4
    compare 0x8005 0x6
    if 0x1 call 0x892DB0B
    compare 0x8005 0x0
    if 0x1 call 0x892DB22
    return
    
    '-----------------------
    #org 0x92BDEE
    bufferstring 0x0 0x892BE5A '"Monday"
    return
    
    '-----------------------
    #org 0x92BDF6
    bufferstring 0x0 0x892BE63 '"Tuesday"
    return
    
    '-----------------------
    #org 0x92BDFE
    bufferstring 0x0 0x892BE6D '"Wednesday"
    return
    
    '-----------------------
    #org 0x92BE24
    bufferstring 0x0 0x89667B2 '"Thursday"
    return
    
    '-----------------------
    #org 0x92BE2C
    bufferstring 0x0 0x892BE83 '"Friday"
    return
    
    '-----------------------
    #org 0x92BE34
    bufferstring 0x0 0x892BE8C '"Saturday"
    return
    
    '-----------------------
    #org 0x92BE3C
    bufferstring 0x0 0x892BE97 '"Sunday"
    return
    
    '-----------------------
    #org 0x92DA98
    clearflag 0x1204
    setflag 0x1205
    setflag 0x120C
    setflag 0x1207
    setflag 0x120A
    setflag 0x1208
    setflag 0x1203
    return
    
    '-----------------------
    #org 0x92DAAF
    clearflag 0x1205
    setflag 0x1204
    setflag 0x120C
    setflag 0x1207
    setflag 0x120A
    setflag 0x1208
    setflag 0x1203
    return
    
    '-----------------------
    #org 0x92DAC6
    clearflag 0x120C
    setflag 0x1205
    setflag 0x1204
    setflag 0x1207
    setflag 0x120A
    setflag 0x1208
    setflag 0x1203
    return
    
    '-----------------------
    #org 0x92DADD
    clearflag 0x1207
    setflag 0x1205
    setflag 0x120C
    setflag 0x1204
    setflag 0x120A
    setflag 0x1208
    setflag 0x1203
    return
    
    '-----------------------
    #org 0x92DAF4
    clearflag 0x120A
    setflag 0x1205
    setflag 0x120C
    setflag 0x1207
    setflag 0x1204
    setflag 0x1208
    setflag 0x1203
    return
    
    '-----------------------
    #org 0x92DB0B
    clearflag 0x1208
    setflag 0x1205
    setflag 0x120C
    setflag 0x1207
    setflag 0x120A
    setflag 0x1204
    setflag 0x1203
    return
    
    '-----------------------
    #org 0x92DB22
    clearflag 0x1203
    setflag 0x1205
    setflag 0x120C
    setflag 0x1207
    setflag 0x120A
    setflag 0x1208
    setflag 0x1204
    return
    
    
    '---------
    ' Strings
    '---------
    #org 0x92BE44
    = Today is [buffer1], [buffer2]:[buffer3].
    
    #org 0x9DB305
    = Today is [buffer1], 0[buffer2]:[buffer3].
    
    #org 0x92D8EB
    = Today is [buffer1], [buffer2]:0[buffer3].
    
    #org 0x9E1F50
    = Today is [buffer1], 0[buffer2]:0[buffer3].
    
    #org 0x92BE5A
    = Monday
    
    #org 0x92BE63
    = Tuesday
    
    #org 0x92BE6D
    = Wednesday
    
    #org 0x9667B2
    = Thursday
    
    #org 0x92BE83
    = Friday
    
    #org 0x92BE8C
    = Saturday
    
    #org 0x92BE97
    = Sunday

    This was originally compiled in Fire Red. It works well, it checks the date and time and says:
    Code:
     Today is (Day of the Week), (Hour):(Minutes)
    in RTC.

    But when I compile it to RUBY, it always says:
    Code:
     Today is Sunday, 00:00

    Is this an error of RUBY? I already inserted an RTC in RUBY using DNS but still the same.



    Why don't you try doing it again? Understand every bit of word and sentence and absorb it in your mind. Lol! I'll try later but I think it will work out perfectly for me.

    That script seems really, really complicated for what you are trying to do, and once again we have a problem with flags: NO FLAGS OVER 900. And why are you setting so many of them? Also, the free ram space in Ruby is completely different from FR. I believe the location of the rtc is different, which would cause your problem.
     
    865
    Posts
    13
    Years
    • Age 38
    • Seen Feb 24, 2024
    I've been fishing around for a while, and thought I would finally come here to ask this. I've been looking for someway to edit the order of the regional dex in Emerald for my hack... Is there someway to do this? Would anyone be willing to teach me how?
     

    TweenyTodd

    Quitting cuz i got a job
    95
    Posts
    11
    Years
  • Is there a list of XSE commands? Cuz i want to know the point of this special command:
    special 0x16D
     

    karatekid552

    What happens if I push it?....
    1,771
    Posts
    11
    Years
  • I've been fishing around for a while, and thought I would finally come here to ask this. I've been looking for someway to edit the order of the regional dex in Emerald for my hack... Is there someway to do this? Would anyone be willing to teach me how?

    Go download PGE (Pokémon Game Editor). It has the only Pokédex order editor that supports more games than just FR. I believe it supports Emerald.

    Is there a list of XSE commands? Cuz i want to know the point of this special command:
    special 0x16D

    Google "JPAN's Study on the Special and Special2 Commands". For real XSE commands, and not their parameters, strike F1 while in XSE.
     
    Last edited:

    karatekid552

    What happens if I push it?....
    1,771
    Posts
    11
    Years
  • Is there a way to add more than 5 evolutions to Eevee?

    It can be done, but you have to edit the routine which loads and carries out evolutions. I have looked at evolution data structure before and it basically is just is a list of every evolution in the game, which can be broken down into groups of five, one group per pokemon. There is no end or starter bytes for each group and therefore the game just counts in order to know which evolutions belong to each pokemon. So, you would have to edit the routine to make it count more evolutions per pokemon, or make a special case scenario for Eevee.

    Yes, try YAPE if you are using a clean ROM. There's obviously other ways, but that's the easiest.

    No, that won't work since YAPE has precautions against going against the game's limits. See my above post for a little bit more in depth on what need to be done.
     
    Last edited:

    TweenyTodd

    Quitting cuz i got a job
    95
    Posts
    11
    Years
  • Google "JPAN's Study on the Special and Special2 Commands". For real XSE commands, and not their parameters, strike F1 while in XSE.

    Thank you, turns out it was linking for the Union Room, which I should have guessed given that I took it from the map script of the Union Room.
     

    exedissolve

    Straight-edge
    40
    Posts
    16
    Years
    • Seen Aug 3, 2013
    I'm hacking FireRed, how hard is it to add Pokemon to the extra ?????????? Slots in YAPE?
     

    karatekid552

    What happens if I push it?....
    1,771
    Posts
    11
    Years
  • I'm hacking FireRed, how hard is it to add Pokemon to the extra ?????????? Slots in YAPE?

    Easy, but difficult. Haha, they won't have dex entries, (unless you hack the pokedex, there is a thread in R&D for that), which will cause the game to crash when caught. So, they have to be evolved or given to the character. I use them for some of the extra evolutions added in Gen IV.

    However, everything else works fine. Except icons.... Those have to be properly and completely repointed or else it reverses all sprite changes you made. So, just repoint every thing you can that deals with them and you should be fine.
     

    exedissolve

    Straight-edge
    40
    Posts
    16
    Years
    • Seen Aug 3, 2013
    Easy, but difficult. Haha, they won't have dex entries, (unless you hack the pokedex, there is a thread in R&D for that), which will cause the game to crash when caught. So, they have to be evolved or given to the character. I use them for some of the extra evolutions added in Gen IV.

    However, everything else works fine. Except icons.... Those have to be properly and completely repointed or else it reverses all sprite changes you made. So, just repoint every thing you can that deals with them and you should be fine.

    So there's a tutorial for that maybe?
     
    534
    Posts
    11
    Years
    • Age 26
    • Seen Jul 24, 2023
    That script seems really, really complicated for what you are trying to do, and once again we have a problem with flags: NO FLAGS OVER 900. And why are you setting so many of them? Also, the free ram space in Ruby is completely different from FR. I believe the location of the rtc is different, which would cause your problem.

    Thanks again dude, I just woke up so I just had the time to answer. But do you know how to fix it? I just copied that script from Liquid Crystal by LinkandZelda and Zeikku. I really don't know of a Ruby hack that checks the time and date. And also, I don't know how to fix it.
     

    karatekid552

    What happens if I push it?....
    1,771
    Posts
    11
    Years
  • Thanks again dude, I just woke up so I just had the time to answer. But do you know how to fix it? I just copied that script from Liquid Crystal by LinkandZelda and Zeikku. I really don't know of a Ruby hack that checks the time and date. And also, I don't know how to fix it.

    Well, if the script came straight out of LC... Wait. Jambo hacked LC's save routine and storage to allow more vars and flags. You can't use this script as it is. We have to rewrite it as it isn't safe.
     
    534
    Posts
    11
    Years
    • Age 26
    • Seen Jul 24, 2023
    But why does it work on a clean Fire Red Rom, but the one with RTC installed through DNS?

    Also If I rewrite the script for Ruby, is it also that long?
     
    Status
    Not open for further replies.
    Back
    Top