Skeetendo

’Cause all games were better on the GBC

You are not logged in.

  • Index
  • → Help/Question
  • → Repointing the Evolution/Moveset Pointer Table to Another Bank

#1 2013-01-01 23:47:29

Fireburn
New member
Registered: 2012-08-29
Post 5/5

Repointing the Evolution/Moveset Pointer Table to Another Bank

Pretty much what it says on the title. I want to add moves to my hack, but I have too many moves to add and not enough free space in bank 10. I would like change the bank the ASM points to to an empty bank and move everything there, but I'm not sure how to do it. At Offset 042790 is the 2-byte pointer to the pointer table, but it seems I need to get to that third-byte in the ASM to change the bank it points to. Anyone know how I can start going about this?

Offline

#2 2013-01-02 07:09:48

Miksy91
Member
Registered: 2010-10-16
Post 1,403/2,308

Re: Repointing the Evolution/Moveset Pointer Table to Another Bank

You've got to learn assembly and see how the routine for loading the moves table works.
Of course it could be possible to have a "3-byte pointer table" for the moves data but instead, it would be easier if you moved the whole routine (probably 0x100-0x300 bytes) into another rom bank. To do it, you've to first understand what every single asm instruction there does so you can really keep up with what is going on.

Offline

  • Index
  • → Help/Question
  • → Repointing the Evolution/Moveset Pointer Table to Another Bank

Board footer

Powered by FluxBB