Hey!
Open /data/specials.inc and add at the end:
Now, in any .c file that is inside the src folder we add:
I added it in the naming_screen.c cuz whynaut
We can use it in any script, like this:
Easy duh?
Edit: If you think it might be appropiate to move it to the Simple Modifications thread go ahead, I wasn't sure so I made this thread.
Edit 2: Fixed to make it so the script continues after you use it.
Open /data/specials.inc and add at the end:
Code:
def_special name_test
Code:
void name_test(void)
{
DoNamingScreen(0, gSaveBlock2Ptr->playerName, gSaveBlock2Ptr->playerGender, 0, 0, CB2_ReturnToFieldContinueScript);
}
We can use it in any script, like this:
Code:
NameTest::
special name_test
end
Easy duh?
![[PokeCommunity.com] Adding a special to change PLAYERs name [PokeCommunity.com] Adding a special to change PLAYERs name](https://i.imgur.com/RQZhzox.png)
Edit: If you think it might be appropiate to move it to the Simple Modifications thread go ahead, I wasn't sure so I made this thread.
Edit 2: Fixed to make it so the script continues after you use it.
Last edited: