shithub: pokecrystal

Download patch

ref: 36ebcdd8fe5c8191e1d59a15259654862de64193
parent: b975f3e068fb9dbbe688445914cfb65036eeadc1
author: Rangi <[email protected]>
date: Thu Jan 3 02:30:44 EST 2019

MON_NAME_LENGTH -> NAME_LENGTH

--- a/engine/events/odd_egg.asm
+++ b/engine/events/odd_egg.asm
@@ -45,7 +45,7 @@
 	; Writes to wOddEgg, wOddEggName, and wOddEggOTName,
 	; even though OddEggs does not have data for wOddEggOTName
 	ld de, wOddEgg
-	ld bc, NICKNAMED_MON_STRUCT_LENGTH + MON_NAME_LENGTH
+	ld bc, NICKNAMED_MON_STRUCT_LENGTH + NAME_LENGTH
 	call CopyBytes
 
 	ld a, EGG_TICKET
--- a/wram.asm
+++ b/wram.asm
@@ -379,7 +379,7 @@
 ; odd egg
 wOddEgg:: party_struct wOddEgg
 wOddEggName:: ds MON_NAME_LENGTH
-wOddEggOTName:: ds MON_NAME_LENGTH
+wOddEggOTName:: ds NAME_LENGTH
 
 NEXTU ; c608
 ; battle tower temp struct