Quote:
Originally Posted by youzan
push {lr}
ldr r0, =0x03005D90
/*0x03005D90 is Emerald,
0x0300500C is FireRed*/
ldr r0, [r0]
mov r1, #0x1
/*0x0 is boy, 0x1 is girl*/
strb r1, [r0,#0x8]
pop {pc}
|
sorry i'm not well versed in ASM. To use this i would simply change the #0x0 on the line "mov r1, #0x1" to 0x0 for male and 0x1 for female, then compile this and call it in a script with callasm 0xPointer+1? Is there anything else I have to add or change (other than the 0x0300500C) before compiling? Also i'm assuming this is a permanent change that changes the overworld and backsprite and wont cause issues with things like checkgender?
Edit: Yea this doesn't seem to do anything