The 4th gen class split in 3rd gen
View Single Post
December 16th, 2011, 03:50 PM
Join Date: May 2008
Location: The Bay Area
I think I found the bit of code responsible for the Counter/Mirror Coat glitch. At 0x47f02, the game loads the elemental type of the move with a "ldrb r6, [r0, #0x2]" instruction. Change the offset to wherever your custom physical/special/status byte is. Then, go to 0x48148 and change the "cmp r6, #0x8" instruction to "cmp r6, #0x0". Honestly, I don't understand the differences between the two branches but when I changed the conditional, it fixed the glitch.
edit: Ah, what the hell. I've attached my patch for whoever wants to test it.
(3.6 KB, 192 views)
(Save to Dropbox)
Last edited by colcolstyles; December 17th, 2011 at
View Public Profile
Send a private message to colcolstyles
Find all posts by colcolstyles
Find threads started by colcolstyles
Ignore Posts by colcolstyles