View Single Post
  #844    
Old May 21st, 2016 (4:34 AM).
Le pug's Avatar
Le pug Le pug is offline
Creator of Pokémon: Discovery / Fat Kid
 
Join Date: Aug 2013
Location: Le bed
Age: 25
Gender: Male
Nature: Bold
Posts: 869
Quote:
Originally Posted by Touched View Post
There is

Code:
.text
.align 2
.thumb_func

main:
	push {lr}
	ldr r0, player_data
	ldr r0, [r0]
	ldr r1, chosen_name
	bl strcpy
	pop {pc}

strcpy:
	ldr r2, =(0x08008BA0 + 1)
	bx r2

.align 2
player_data: .word 0x03005D90
chosen_name: .word 0xDEADBEEF
That's untested, but you can callasm that, set the pointer that says 0xDEADBEEF to the pointer to a name of your choice (in Emerald). It must be 7 characters long and end in FF.
anyone know the pointer to call that allows you to open up the name player feature? i dont want to name the player but if the intro is skipped, later on I want to have it to where the player sets his name
__________________




/// Pokémon: Discovery
/// Pokémon: Fat Kid
/// Tile Insertion Tutorial For AdvanceMap
/// Pokémon Emerald Specials Resource Thread
/// Pokémon Emerald Decapitalization Patch
/// Emerald Titlescreen Cloud Removal Tutorial
/// Tutorial For Fixing Any ROM-related Bug
Reply With Quote