This commit is contained in:
Capucine Meyer 2023-04-09 14:43:53 +02:00
commit 9bf8886d4b
18 changed files with 107 additions and 110 deletions

View file

@ -7,6 +7,7 @@ CeruleanPokecenter_TextPointers:
dw CeruleanPokecenterText2
dw CeruleanPokecenterText3
dw CeruleanTradeNurseText
dw NinetalesTrade
CeruleanTradeNurseText:
script_cable_club_receptionist
@ -21,3 +22,11 @@ CeruleanPokecenterText2:
CeruleanPokecenterText3:
text_far _CeruleanPokecenterText3
text_end
NinetalesTrade:
text_asm
ld a, TRADE_FOR_NINETALES_A
ld [wWhichTrade], a
predef DoInGameTradeDialogue
jp TextScriptEnd

View file

@ -7,6 +7,7 @@ LavenderPokecenter_TextPointers:
dw LavenderPokecenterText2
dw LavenderPokecenterText3
dw LavenderTradeNurseText
dw DugtrioTrade
LavenderTradeNurseText:
script_cable_club_receptionist
@ -21,3 +22,11 @@ LavenderPokecenterText2:
LavenderPokecenterText3:
text_far _LavenderPokecenterText3
text_end
DugtrioTrade:
text_asm
ld a, TRADE_FOR_DUGTRIO_A
ld [wWhichTrade], a
predef DoInGameTradeDialogue
jp TextScriptEnd

View file

@ -8,7 +8,7 @@ NameRaterScript_1da15:
and a
ret
NameRaterScript_1da20:
NameRaterScript_1da20: ; This shouldn't be necessary now that it's removed, but better safe than sorry.
ld hl, wPartyMonOT
ld bc, NAME_LENGTH
ld a, [wWhichPokemon]
@ -60,9 +60,9 @@ NameRaterText1:
pop af
jr c, .asm_1daae
call GetPartyMonName2
call NameRaterScript_1da20
ld hl, NameRaterText_1dad1
jr c, .asm_1daa8
;call NameRaterScript_1da20 - Removing the OT check, traded Pokemon can be nicknamed.
;ld hl, NameRaterText_1dad1
;jr c, .asm_1daa8
ld hl, NameRaterText_1dabd
call NameRaterScript_1da15
jr nz, .asm_1daae
@ -102,6 +102,6 @@ NameRaterText_1dacc:
text_far _NameRaterText_1dacc
text_end
NameRaterText_1dad1:
text_far _NameRaterText_1dad1
text_end
;NameRaterText_1dad1:
; text_far _NameRaterText_1dad1
; text_end