Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTI: Starter Mod #90

Open
evandixon opened this issue Jul 15, 2018 · 1 comment
Open

GTI: Starter Mod #90

evandixon opened this issue Jul 15, 2018 · 1 comment

Comments

@evandixon
Copy link
Owner

Adapt the PsmdStarterMod project to work with GTI. Everything the project takes care of should be adapted to work with GTI, or a reason must be found as to why it's not applicable. For example, we don't need a custom starter selection script, since modifying the existing one will suffice.

Dependencies

How to change the starters.

  1. Modify menu_groud_chara_select.lua to change all instances of the desired Pokémon IDs.
  2. Patch the code.bin. There are 3 structures that need to be updated. These structures are an array of 5 32-bit words, the first byte of which is the Pokémon ID. The indexes for a US ROM are as follows:
    • GROUND:GetCharaSelectPokemonInfoTbl - 0x6F9E14 (0x2E4 after 0x6F9B40; look for the unicode string "42").
    • GROUND:SetWarehouseHero - 0x702F48
    • GROUND: SetWarehousePartner - 0x702F5C
  3. (Possibly optional, should confirm) Change the relevant entry in fixed_pokemon.bin. The moves need not change.

If possible, code.bin patching for EU ROMs should be added too. Maybe even JP ROMs because why not (unless it's significantly different, then don't bother).

@errantSquam
Copy link

Hey, hope this is the right place to ask

Is there any documentation for how the portraits in GTI work? Would it be possible to add new ones manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants