diff --git a/Name-Rater-Allows-Traded-Pokemon-to-be-Renamed.md b/Name-Rater-Allows-Traded-Pokemon-to-be-Renamed.md new file mode 100644 index 0000000..c971c17 --- /dev/null +++ b/Name-Rater-Allows-Traded-Pokemon-to-be-Renamed.md @@ -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 +``` \ No newline at end of file