

At 'Jumptable_226e72c' are the functions for interpreting:.contains the main functions that handle a Pkmn- or Trainer-Battle.the actual AIScript which is partly interpreted.At 'Jumptable_222eeac' are the AIScript-functions listed.At 'JumpTable_22387d4' are the functions for interpreting:.contains the functions that handle the graphic- and effect-scripts of moves.


The software floating-point library, fplib ( ).contains the filelist that is used to load files with the filesystem.contains the IRQHandler (InterruptRequest).contains the GraphicEngine and the ScriptHandler.pokemon-pics can be modified (except the pics for the alternate forms, because they have a strange order and that makes working with the palettes more complicated).data files (list below) can be modified and compiled (scripts, text, trainer-, item-, encounter-, move-, pokemon-, battletower-, event-data).The code can be compiled and, if you're careful, be modifiedĢ instructions "add/sub rn, rn, 0/1" can be decoded in 2 different ways, and gas and the nintendo compiler don't use the same, so I had to use ".hword" for them disassembled all code, rest of incbins at the end of the overlays is data.

