• 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.
S
Reaction score
20

Profile posts Latest activity Postings About

  • Oh. Well in that case, I can tell you that in FireRed, it literally just compares the TM's index to the number of HM01 or TM50 (don't remember which) and does a conditional branch. Its literally in that same subroutine with the 3 decimal fix that I just posted.
    Hmm, nope. But my hack is FireRed. I have no clue how it works in the Hoenn games. I know the TM pocket is different - for example, FireRed has a key item called the TM Case. RSE is probably different. I don't even know if anyone has done TM expansion in a game outside of FireRed?
    Didn't know it wasn't already in the thread. Probably too late to bump.

    ROM:08131DB0 ADDS R1, R6, R0
    ROM:08131DB2 MOVS R0, R4
    ROM:08131DB4 MOVS R2, #2
    ROM:08131DB6 MOVS R3, #2
    ROM:08131DB8 BL int_to_str

    r3 = number of decimal places
    Change the move instruction to
    mov r3, #0x3

    If you don't want the zero padding (something like TM087) for TMs below TM100, you can do a comparison to r1, which contains the decimal number of the TM.
  • Loading…
  • Loading…
  • Loading…
Back
Top