shithub: pokecrystal

Download patch

ref: cf1c50555505f525ede5e2cd426f002312038de0
parent: 18efb2fab3cec16c8f82ebec71b6c2201c349f1d
author: mid-kid <[email protected]>
date: Sun Feb 26 07:28:06 EST 2023

GetNicknamenamePointer -> GetNicknamePointer

Found this commit on an old drive

--- a/engine/pokemon/stats_screen.asm
+++ b/engine/pokemon/stats_screen.asm
@@ -430,7 +430,7 @@
 	hlcoord 14, 0
 	call PrintLevel
 	ld hl, .NicknamePointers
-	call GetNicknamenamePointer
+	call GetNicknamePointer
 	call CopyNickname
 	hlcoord 8, 2
 	call PlaceString
@@ -791,7 +791,7 @@
 	ld de, wTempMonID
 	call PrintNum
 	ld hl, .OTNamePointers
-	call GetNicknamenamePointer
+	call GetNicknamePointer
 	call CopyNickname
 	farcall CorrectNickErrors
 	hlcoord 2, 13
@@ -1159,7 +1159,7 @@
 	pop de
 	ret
 
-GetNicknamenamePointer:
+GetNicknamePointer:
 	ld a, [wMonType]
 	add a
 	ld c, a
--- a/mobile/fixed_words.asm
+++ b/mobile/fixed_words.asm
@@ -414,8 +414,8 @@
 	depixel 3, 1, 2, 5
 	ld a, SPRITE_ANIM_INDEX_EZCHAT_CURSOR
 	call InitSpriteAnimStruct
-	depixel 8, 1, 2, 5
 
+	depixel 8, 1, 2, 5
 	ld a, SPRITE_ANIM_INDEX_EZCHAT_CURSOR
 	call InitSpriteAnimStruct
 	ld hl, SPRITEANIMSTRUCT_VAR1
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -3866,7 +3866,7 @@
 	call Function17f4f6
 	add hl, de
 	ld a, [hl]
-	ld a, $1
+	ld a, BANK(wNamedObjectIndex)
 	ldh [rSVBK], a
 	ld [wNamedObjectIndex], a
 	call GetPokemonName