Thread: Development: Ability Resource Thread
View Single Post
  #27    
Old April 17th, 2015 (6:50 AM). Edited April 17th, 2015 by Xencleamas.
Xencleamas's Avatar
Xencleamas Xencleamas is offline
Suddenly lurking in the shadows...
     
    Join Date: Feb 2014
    Location: Asgard
    Gender: Male
    Nature: Adamant
    Posts: 458

    Expanding Ability Names Data and Ability Descriptions Pointer Table


    I think this should be here so I don't need to make a new thread with a very simple tutorial. Alright! I'm going to tell you how to expand Ability tables (the Names and the Descriptions). I'm using HxD here as a HEX Editor.

    Legend:
    • Green bolded text are for Emerald.
    • Red bolded text are for FireRed.

    Step 1: Ability Names

    • Go to a new free space names (example: 0x720000). Select 3328 (0xD00 in HEX) bytes. Fill the bytes with AE AE AE AE AE AE AE FF 00 00 00 00 00.
    • Go to 31B6DB or 24FC40. Select and copy 1014 (0x3F6 in HEX) bytes.
    • Go to the offset of your names data (which the example is 0x720000) and paste the data there.
    • Replace all DB B6 31 08 or 40 FC 24 08 with the "reversed hex in little indian of your new names data offset with 08 at the end" (example: 00 00 72 08)

    Step 2: Ability Descriptions

    • Go to a new free space descriptions (example: 0x720D00). Select 1024 (0x400 in HEX) bytes. Fill the bytes with 98 AF 31 08 or C4 F3 24 08.
    • Go to 31BAD4 or 24FB08. Select and copy 312 (0x138 in HEX) bytes.
    • Go to the offset of your description table (which the example is 0x720D00) and paste the data there.
    • Replace all D4 BA 31 08 or 08 FB 24 08 with the "reversed hex in little indian of your new description data offset with 08 at the end" (example: 00 0D 72 08)

    Then, change your .ini-s. Replace the old offsets in the .ini with your new data (they should be at where the Ability Names and Ability Descriptions are). Luckily, these don't have limiter stuff at all.

    With the expanded data, the new data should be working. I have made this tutorial to have maximized the slots to 256 abilities (255 usable abilities plus one for the none "-----" slot). Now you have 178 new slots for Generation IV+ abilities. Noted that the game can only support up to 256 abilities. The rest of the tutorial on how to insert ability routines are on the first post of this thread since inserting ability routines are now complicated. I hope this post is to be linked up in the Extra Information of this thread so everyone can expand stuff too.
    __________________

    Xencleamas Untitled Pokémon Fan Game (Coming Soon!) Untitled Region (Coming Soon!)
    Reply With Quote