add r0, r6, r7
lsl r0, r0, #0x3
add r0, r2, r0
add r3, r0, r3
ldrh r2, [r3, #0x2]
mov r8, r0
mov r9, r2
mov r0, #0x38
mov r1, #0xC
cmp r0, #0XC7
mov r0, r8
mov r2, r9
cmp r0, r2 //This is currently compareind r2 to 0xc7 is this on purpose? if not follow the changes in Blue
mov r11, r0
mov r1, r11
ldr r0, levelcheckloc--This is the level check you dont need to have the check in the routine, I just remembered that.
Hm well I guess I was wrong, geez I really need to start actually paying attention to stuff I'm starting to slack off and give false information. But anyway if that is the level check then you will need to make sure that you copy r2 and r3 to different registries first as they are overwritten by decrypts and stuff.
Well that's still ridiculous to be honest. The only reason Wonder Guard isn't a completely broken ability is because Shedinja is immediately one shot. Whereas the ghost types you want to give it to have HP, Defense and Sp. Def stats. Imagine Dusclops or Dusknoir being immune to like all those types.
You'd have to look around for the Wonder Guard check in the attack canceler routine.
Try that. You had the decrypt registers stored wrong, the location you want to check needs to be stored in r1 and it generates the result into r0. Not sure why you had that cmp r1, r2 but it didnt seem needed at all so I removed it. And because I removed that I merged the True section into the main routine.
I miss understood lol, sry. If I dont fix it it will bother me that it didnt work so Im gonna see if I cant figure something out. What I might end up doing is having a separate evolution per item, its not efficient but it might work a whole lot better.
Ok well the first offsets for the tables you put down wont work as theyre reversed but they shouldnt be. 2nd dont make a new metal coat. It goes by item index not name, so that may have been the issue. Try using the metal coat in game. Im gonna give it a shot too since I got my usb back today.
EDIT:Tested it and it freezes for me if it fails. I'm thinking I may have missed a pop or something.... idk ill look at it when I get some more free time.
No rush man. I understand how that goes.
Yea I havent tested it. I dont have a spare ROM to test on atm. All my clean ROMs are on a usb that a friend has.
Just assemble it into the bin, follow the normal adding evolution instructions and insert the 2 custom tables.