shithub: pokecrystal

Download patch

ref: 0ae5e9b3986dbbe64870dc1ad29a63b65b96200e
parent: f6ecb681d5764632053ad5bb4f34082fff6b2022
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Dec 23 09:02:07 EST 2018

Define RANDY_OT_ID

--- a/engine/events/shuckle.asm
+++ b/engine/events/shuckle.asm
@@ -67,6 +67,7 @@
 
 SpecialShuckleOT:
 	db "MANIA@"
+
 SpecialShuckleNick:
 	db "SHUCKIE@"
 
--- a/engine/pokemon/move_mon.asm
+++ b/engine/pokemon/move_mon.asm
@@ -1,3 +1,5 @@
+RANDY_OT_ID EQU 01001
+
 TryAddMonToParty:
 ; Check if to copy wild mon or generate a new one
 	; Whose is it?
@@ -1724,9 +1726,9 @@
 	ld hl, wPartyMon1ID
 	ld bc, PARTYMON_STRUCT_LENGTH
 	call AddNTimes
-	ld a, HIGH(01001)
+	ld a, HIGH(RANDY_OT_ID)
 	ld [hli], a
-	ld [hl], LOW(01001)
+	ld [hl], LOW(RANDY_OT_ID)
 	pop bc
 	farcall SetGiftPartyMonCaughtData
 	jr .skip_nickname