Define RANDY_OT_ID

This commit is contained in:
Rangi 2018-12-23 14:02:07 -05:00
parent f6ecb681d5
commit 0ae5e9b398
2 changed files with 5 additions and 2 deletions

View File

@ -67,6 +67,7 @@ GiveShuckle:
SpecialShuckleOT:
db "MANIA@"
SpecialShuckleNick:
db "SHUCKIE@"

View File

@ -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 @@ GivePoke::
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