• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Red, Kris, May - which Pokémon protagonist is your favorite? Let us know by voting in our semifinal favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] Change gender in overworld

Hi there,
I'm wondering if it's possible to change the player's gender from the overworld?

In other words, is there a callasm command for the part in Oak's introduction where you pick your gender?

I've tried converting "Now tell me. Are you a boy?" into hex and found a pointer at 0x12FE34 but I'm not sure how I would proceed from there.

Thanks for your help in advance!



EDIT: Nvm, figured it out
 
Last edited:
Hi there,
I'm wondering if it's possible to change the player's gender from the overworld?

In other words, is there a callasm command for the part in Oak's introduction where you pick your gender?

I've tried converting "Now tell me. Are you a boy?" into hex and found a pointer at 0x12FE34 but I'm not sure how I would proceed from there.

Thanks for your help in advance!


EDIT: Nvm, figured it out

Do you mind sharing how you got this to work?
 
Last edited:
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}
 
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
 
Last edited:
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
What program is this for?
 
Last edited:
Back
Top