2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_MapScripts::
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-11-12 23:52:32 +01:00
|
|
|
@ NPC that rates pokemon based on their IVs
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_Breeder::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-12 23:52:32 +01:00
|
|
|
call_if_unset FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_BreederIntro
|
|
|
|
call_if_set FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_AlreadyMetBreeder
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_MET_BATTLE_FRONTIER_BREEDER
|
2019-11-12 23:52:32 +01:00
|
|
|
goto BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder::
|
2019-10-18 01:22:03 +02:00
|
|
|
special ChoosePartyMon
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_ne VAR_0x8004, PARTY_NOTHING_CHOSEN, BattleFrontier_Lounge1_EventScript_ShowMonToBreeder
|
|
|
|
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, BattleFrontier_Lounge1_EventScript_CancelMonSelect
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_BreederIntro::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_PokemonBreederIntro, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_AlreadyMetBreeder::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_LetsLookAtYourPokemon, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-12 23:52:32 +01:00
|
|
|
@ BufferVarsForIVRater buffers the following values
|
|
|
|
@ VAR_0x8005: Sum of the mons IVs
|
|
|
|
@ VAR_0x8006: Stat id of highest IV stat
|
|
|
|
@ VAR_0x8007: IV of the highest IV stat
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_ShowMonToBreeder::
|
2017-12-28 09:09:11 +01:00
|
|
|
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_eq VAR_RESULT, SPECIES_EGG, BattleFrontier_Lounge1_EventScript_ShowEggToBreeder
|
2019-09-14 02:22:09 +02:00
|
|
|
special BufferVarsForIVRater
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_le VAR_0x8005, 90, BattleFrontier_Lounge1_EventScript_AverageTotalIVs @ Average of 15
|
|
|
|
goto_if_le VAR_0x8005, 120, BattleFrontier_Lounge1_EventScript_AboveAverageTotalIVs @ Average of 20
|
|
|
|
goto_if_le VAR_0x8005, 150, BattleFrontier_Lounge1_EventScript_HighTotalIVs @ Average of 25
|
|
|
|
goto_if_ge VAR_0x8005, 151, BattleFrontier_Lounge1_EventScript_VeryHighTotalIVs @ Average of > 25
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_ShowEggToBreeder::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_EvenICantTell, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 23:52:32 +01:00
|
|
|
@ Comment on the highest IV stat
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVStat::
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_eq VAR_0x8006, STAT_HP, BattleFrontier_Lounge1_EventScript_HighestIVHP
|
|
|
|
goto_if_eq VAR_0x8006, STAT_ATK, BattleFrontier_Lounge1_EventScript_HighestIVAtk
|
|
|
|
goto_if_eq VAR_0x8006, STAT_DEF, BattleFrontier_Lounge1_EventScript_HighestIVDef
|
|
|
|
goto_if_eq VAR_0x8006, STAT_SPEED, BattleFrontier_Lounge1_EventScript_HighestIVSpeed
|
|
|
|
goto_if_eq VAR_0x8006, STAT_SPATK, BattleFrontier_Lounge1_EventScript_HighestIVSpAtk
|
|
|
|
goto_if_eq VAR_0x8006, STAT_SPDEF, BattleFrontier_Lounge1_EventScript_HighestIVSpDef
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 23:52:32 +01:00
|
|
|
@ Comment on the highest IV value
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVValue::
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_le VAR_0x8007, 15, BattleFrontier_Lounge1_EventScript_HighestIVLow
|
|
|
|
goto_if_le VAR_0x8007, 25, BattleFrontier_Lounge1_EventScript_HighestIVMid
|
|
|
|
goto_if_le VAR_0x8007, 30, BattleFrontier_Lounge1_EventScript_HighestIVHigh
|
|
|
|
goto_if_ge VAR_0x8007, 31, BattleFrontier_Lounge1_EventScript_HighestIVMax
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_EndBreederComments::
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_AverageTotalIVs::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_AverageAbility, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVStat
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_AboveAverageTotalIVs::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_BetterThanAverageAbility, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVStat
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighTotalIVs::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_ImpressiveAbility, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVStat
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_VeryHighTotalIVs::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_OutstandingAbility, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVStat
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVHP::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_BestAspectHP, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVAtk::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_BestAspectAtk, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVDef::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_BestAspectDef, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVSpeed::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_BestAspectSpeed, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVSpAtk::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_BestAspectSpAtk, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVSpDef::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_BestAspectSpDef, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVLow::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_StatRelativelyGood, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_EndBreederComments
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVMid::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_StatImpressive, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_EndBreederComments
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVHigh::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_StatOutstanding, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_EndBreederComments
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_HighestIVMax::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_StatFlawless, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_Lounge1_EventScript_EndBreederComments
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_CancelMonSelect::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_NoTimeForMyAdvice, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_Boy1::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_SaidMyMonIsOutstanding, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_EventScript_Boy2::
|
2019-11-12 23:52:32 +01:00
|
|
|
msgbox BattleFrontier_Lounge1_Text_DidntDoAnythingSpecialRaisingIt, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_PokemonBreederIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "For 70 years I have raised POKéMON!\n"
|
|
|
|
.string "I am the man they revere as\l"
|
|
|
|
.string "the legendary top POKéMON BREEDER!\p"
|
|
|
|
.string "If you ever become as seasoned as me,\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "you'll see the abilities of POKéMON\l"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "at a glance.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "You're a TRAINER. Doesn't it interest\n"
|
|
|
|
.string "you to know your own POKéMON's\l"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "abilities?\p"
|
|
|
|
.string "Here!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Let's have a look at your POKéMON!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_AverageAbility:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "…Hmm…\p"
|
|
|
|
.string "This one, overall, I would describe\n"
|
|
|
|
.string "as being of average ability.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_BetterThanAverageAbility:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "…Hmm…\p"
|
|
|
|
.string "This one, overall, I would describe as\n"
|
|
|
|
.string "having better-than-average ability.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_ImpressiveAbility:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "…Hmm…\p"
|
|
|
|
.string "This one, overall, I would say is\n"
|
|
|
|
.string "quite impressive in ability!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_OutstandingAbility:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "…Hmm…\p"
|
|
|
|
.string "This one, overall, I would say is\n"
|
|
|
|
.string "wonderfully outstanding in ability!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_BestAspectHP:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Incidentally, the best aspect of it,\n"
|
|
|
|
.string "I would say, is its HP…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_BestAspectAtk:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Incidentally, the best aspect of it,\n"
|
|
|
|
.string "I would say, is its ATTACK…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_BestAspectDef:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Incidentally, the best aspect of it,\n"
|
|
|
|
.string "I would say, is its DEFENSE…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_BestAspectSpAtk:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Incidentally, the best aspect of it,\n"
|
|
|
|
.string "I would say, is its SPECIAL ATTACK…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_BestAspectSpDef:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Incidentally, the best aspect of it,\n"
|
|
|
|
.string "I would say, is its SPECIAL DEFENSE…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_BestAspectSpeed:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Incidentally, the best aspect of it,\n"
|
|
|
|
.string "I would say, is its SPEED…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_StatRelativelyGood:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "That stat is relatively good.\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "…Hm… That's how I call it.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_StatImpressive:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "That stat is quite impressive.\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "…Hm… That's how I call it.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_StatOutstanding:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "That stat is outstanding!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "…Hm… That's how I call it.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_StatFlawless:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's flawless! A thing of perfection!\n"
|
|
|
|
.string "…Hm… That's how I call it.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_NoTimeForMyAdvice:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "What?\n"
|
|
|
|
.string "You have no time for my advice?\p"
|
|
|
|
.string "You should always be eager to learn\n"
|
|
|
|
.string "from the experiences of your elders!$"
|
|
|
|
|
2019-11-12 23:52:32 +01:00
|
|
|
@ Unused
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_HaveBusinessNeedsTending:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "Yes, what is it now?\p"
|
|
|
|
.string "I have business that needs tending!\n"
|
|
|
|
.string "Save it for next time!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_LetsLookAtYourPokemon:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Ah, youngster! Do your POKéMON's\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "abilities intrigue you?\p"
|
|
|
|
.string "Here, here!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Let's have a look at your POKéMON!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_EvenICantTell:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "An expert I am, but even I can't tell\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "anything about an unhatched POKéMON!\p"
|
|
|
|
.string "Show me a POKéMON!\n"
|
|
|
|
.string "A POKéMON is what I need to see!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_SaidMyMonIsOutstanding:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "He said my POKéMON is outstanding!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'm glad I raised it carefully!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_Lounge1_Text_DidntDoAnythingSpecialRaisingIt:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "He said my POKéMON is outstanding!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "But I didn't do anything special\l"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "raising it…$"
|
|
|
|
|