View Single Post
August 7th, 2010 (09:57 AM).
Join Date: May 2008
Location: The Bay Area
Oh wow. When I looked at your routines earlier, I just skimmed over them real briefly and then pointed out the first error that I saw. There are a bunch more too.
First of all, the first routine does absolutely nothing. It loads a byte from some address, subtracts one from it... and then restores the previous condition without changing anything. As for the second routine, if all you're trying to do is store '0x01' at '0x02024284', then all you need is the following (excluding push and pop):
ldr r0, .POKE_DATA mov r1, #0x01 strb r1, [r0, #0x00]
Before, you weren't actually writing to the POKE_DATA. That's why you didn't notice any change.
Also, it was my understanding that a Pokémon was deemed an egg by setting one of the top two bits in the IV word. I could be mistaken, though.
View Public Profile
Send a private message to colcolstyles
Find all posts by colcolstyles
Find threads started by colcolstyles
Ignore Posts by colcolstyles