The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Locking player and rival name

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old April 19th, 2017 (2:47 AM).
ASDBUDDY's Avatar
ASDBUDDY ASDBUDDY is offline
The Derp
 
Join Date: Apr 2017
Location: aint gonna tell ya
Age: 22
Gender: Male
Nature: Docile
Posts: 347
Hi, so in order to make my ROM hack story oriented I needed to put in a diff static name for both genders and the Rival. after searching a lot on google as well as pokecommunity. I could only find one sure fire way and that was inserting an ASM routine. I followed the steps and looked up a tutorial for the same and after doing everything, my ROM just go corrupted. So if anyone can explain to me how to put in a static/locked name please do, it would be a great help!
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 19th, 2017 (4:19 AM).
mbcn10ww mbcn10ww is offline
 
Join Date: Oct 2016
Posts: 352
Quote:
Originally Posted by ASDBUDDY View Post
Hi, so in order to make my ROM hack story oriented I needed to put in a diff static name for both genders and the Rival. after searching a lot on google as well as pokecommunity. I could only find one sure fire way and that was inserting an ASM routine. I followed the steps and looked up a tutorial for the same and after doing everything, my ROM just go corrupted. So if anyone can explain to me how to put in a static/locked name please do, it would be a great help!
https://www.pokecommunity.com/showpost.php?p=8520099&postcount=135

It's for the player.
For the rival I'm searching, but I think I'll make my own.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old April 19th, 2017 (6:30 AM).
ASDBUDDY's Avatar
ASDBUDDY ASDBUDDY is offline
The Derp
 
Join Date: Apr 2017
Location: aint gonna tell ya
Age: 22
Gender: Male
Nature: Docile
Posts: 347
Quote:
Originally Posted by mbcn10ww View Post
https://www.pokecommunity.com/showpost.php?p=8520099&postcount=135

It's for the player.
For the rival I'm searching, but I think I'll make my own.
Thanks for the effort man but that is the same ASM routine that I said didn't work. buti would surely like if you come up for the rival name :)
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old April 19th, 2017 (2:21 PM).
mbcn10ww mbcn10ww is offline
 
Join Date: Oct 2016
Posts: 352
Quote:
Originally Posted by ASDBUDDY View Post
Thanks for the effort man but that is the same ASM routine that I said didn't work. buti would surely like if you come up for the rival name :)
Sorry if it's not helpful, but it worked fine for me.
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old April 19th, 2017 (3:07 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
well one thing that becomes obvious is that if you want a static name you'll have to skip certain parts of the intro, but i'll leave that to you
Spoiler:
Code:
.text
.align 2
.thumb

setname:
	push {r0-r1, lr}
	ldr r1, name
	ldr r1, [r1]
	mov r0, #	@ letter identifier in hexadecimal
	strb r0, [r1]
	mov r0, #	@ letter identifier in hexadecimal
	strb r0, [r1, #0x1]
	mov r0, #	@ letter identifier in hexadecimal
	strb r0, [r1, #0x2]

	@ code for subsequent letters following the two-line pattern above

	pop {r0-r1, pc}

.align 2

name:
	.word 0x0300500C

hit me up if it doesn't make sense
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old May 7th, 2017 (8:21 AM).
ASDBUDDY's Avatar
ASDBUDDY ASDBUDDY is offline
The Derp
 
Join Date: Apr 2017
Location: aint gonna tell ya
Age: 22
Gender: Male
Nature: Docile
Posts: 347
Quote:
Originally Posted by BluRose View Post
well one thing that becomes obvious is that if you want a static name you'll have to skip certain parts of the intro, but i'll leave that to you
Spoiler:
Code:
.text
.align 2
.thumb

setname:
	push {r0-r1, lr}
	ldr r1, name
	ldr r1, [r1]
	mov r0, #	@ letter identifier in hexadecimal
	strb r0, [r1]
	mov r0, #	@ letter identifier in hexadecimal
	strb r0, [r1, #0x1]
	mov r0, #	@ letter identifier in hexadecimal
	strb r0, [r1, #0x2]

	@ code for subsequent letters following the two-line pattern above

	pop {r0-r1, pc}

.align 2

name:
	.word 0x0300500C

hit me up if it doesn't make sense
Hi Blu rose! i have been waiting but i haven't heard from you, can you help me? Because the naming part is the only thing that's left before i can release my HACK
__________________
https://discord.gg/bEwyPd7
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:17 AM.