mirror of https://github.com/pret/pokeemerald.git
Created Name Rater Allows Traded Pokemon to be Renamed (markdown)
parent
02d7d0f921
commit
2f4ebd8f3f
|
@ -0,0 +1,21 @@
|
||||||
|
by devolov
|
||||||
|
|
||||||
|
**Goal:** Regardless of the Pokemon's OT, we want the name rater to always allow for us to rename.
|
||||||
|
|
||||||
|
In `/data/maps/SlateportCity_NameRatersHouse/scripts.inc`:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
SlateportCity_NameRatersHouse_EventScript_RateMonNickname::
|
||||||
|
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
|
||||||
|
goto_if_eq VAR_RESULT, SPECIES_EGG, SlateportCity_NameRatersHouse_EventScript_CantRateEgg
|
||||||
|
special BufferMonNickname
|
||||||
|
- special IsMonOTIDNotPlayers
|
||||||
|
- goto_if_eq VAR_RESULT, TRUE, SlateportCity_NameRatersHouse_EventScript_PlayerNotMonsOT
|
||||||
|
- specialvar VAR_RESULT, MonOTNameNotPlayer
|
||||||
|
- special BufferMonNickname
|
||||||
|
- goto_if_eq VAR_RESULT, TRUE, SlateportCity_NameRatersHouse_EventScript_PlayerNotMonsOT
|
||||||
|
msgbox SlateportCity_NameRatersHouse_Text_FineNameSuggestBetterOne, MSGBOX_YESNO
|
||||||
|
goto_if_eq VAR_RESULT, YES, SlateportCity_NameRatersHouse_EventScript_ChangeNickname
|
||||||
|
goto_if_eq VAR_RESULT, NO, SlateportCity_NameRatersHouse_EventScript_DeclineNameRate
|
||||||
|
end
|
||||||
|
```
|
Loading…
Reference in New Issue