Thread: Research: Special Abilities
View Single Post
  #4   Link to this post, but load the entire thread.  
Old December 23rd, 2010 (5:27 PM). Edited December 23rd, 2010 by Darthatron.
Darthatron's Avatar
Darthatron Darthatron is offline
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 27
Gender: Male
Nature: Modest
Posts: 1,152
Originally Posted by shiny quagsire View Post
It's possible, but, as Darthatron said, will take a lot of ASM hacking. Also, it might take a bit of space to make the table. In other words, I honestly don't think it's worth it.
With one extra ability per pokemon, it would only take up 386 bytes. But, you could not take up any extra space by using the padding at the end on the base-stats data structure. You could even add two extra abilities per pokemon without needing a table. ^_^

Doing the above would also allow easier routine editing, as adding a simple check for a flag (or something), then branch into a slightly edited routine. Thus, not taking up too much extra space.

EDIT: I looked into it a bit, and it seems most abilities are actually determined from a single routine. ^_^ I don't have any assemblers installed on my laptop, but I'll set up my old desktop and see if I can get something done. The routine is at 0x40D38, btw.
あなた は しきしゃ です
わたし は ばか です
Reply With Quote