News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Pingouin7

Pages: [1]
Sounds neat.

Now I just have to modify Pokémon Emerald so that I can obtain every Gen. III Pokémon without trading (except trade-evolve stuff and such) and I'll be set.

Edit: I'm reading the readme, what does the "Time-based evolutions ASM" hack imply? How does it work?

Thanks to everyone.

Yup, thanks for the help.
I'll make sure to credit you guys too once I'm done editing the sprites.

Gotcha, thanks for the help.
(Sorry about what happened in the chatroom.)

So, in a nutshell, if I were to do this with Bulbasaur's sprite pointer, which according to bulbapedia is at bank 0x0D (pointer is 0040), Bulbasaur's sprite would be at D00040, correct?
Wait, I think I messed up.

What I did was:

(0D * 2^14) + (0040 & 0x3fff).

0000 0000 0100 0000 &
0011 1111 1111 1111
0000 0000 0100 0000

0D * 2^14 =D00000

D00000 + 0040 = D00040, but that obviously is wrong.

Someone on another forum just explained it to me. I'll post the explanation here so that others who are stuck about that may know the answer:

Quote from: stag019
First, flip the byte order (0x4000 instead of 0x0040).
Second, go to windows calculator and in hex mode, type 4000 click the "and" button, and type 3FFF. The result is, in this case, 0 (Bulbasaur start the bank).
Third, the bank is 0x0D, according to the Bulbapedia article, for Bulbasaur, whose id is 0x99.
0x0D left shift 14 (0x0E) means multiply 0x0D * 2 ^ 0x0E which is 0x34000. Add the result of the first part (0) to get 0x34000 as the address he's located at.

ROM Hacking Discussion / Question whose answer may seem obvious to you
« on: October 20, 2011, 09:58:59 pm »
I'm trying to edit the sprites of Pokémon in Blue version.
Bulbapedia says "The full offset to a sprite is then (bank << 14) + (pointer & 0x3fff)."

What would << and & stand for in that equation?
Thanks in advance.

I tried searching but couldn't find anything about that.

Pages: [1]