BadSamaritan
Gone Fishin'
- 148
- Posts
- 14
- Years
- Seen Jun 8, 2023
------------------------------------------------------
Last edited:
if shownature
memo+=_INTL("<c3=F83820,E09890>{1}<c3=404040,B0B0B0> nature.\n",naturename)
end
if pokemon.timeReceived
month=pbGetAbbrevMonthName(pokemon.timeReceived.mon)
date=pokemon.timeReceived.day
year=pokemon.timeReceived.year
memo+=_INTL("<c3=404040,B0B0B0>{1} {2}, {3}\n",month,date,year)
end
mapname=pbGetMapNameFromId(pokemon.obtainMap)
if (pokemon.obtainText rescue false) && pokemon.obtainText!=""
mapname=pokemon.obtainText
end
if mapname && mapname!=""
memo+=sprintf("<c3=F83820,E09890>%s\n",mapname)
else
memo+=_INTL("<c3=F83820,E09890>Faraway place\n")
end
if pokemon.obtainMode
mettext=[_INTL("Met at Lv. {1}.",pokemon.obtainLevel),
_INTL("Egg received."),
_INTL("Traded at Lv. {1}.",pokemon.obtainLevel),
"",
_INTL("Had a fateful encounter at Lv. {1}.",pokemon.obtainLevel)
][pokemon.obtainMode]
memo+=sprintf("<c3=404040,B0B0B0>%s\n",mettext)
if pokemon.obtainMode==1 # hatched
if pokemon.timeEggHatched
month=pbGetAbbrevMonthName(pokemon.timeEggHatched.mon)
date=pokemon.timeEggHatched.day
year=pokemon.timeEggHatched.year
memo+=_INTL("<c3=404040,B0B0B0>{1} {2}, {3}\n",month,date,year)
end
mapname=pbGetMapNameFromId(pokemon.hatchedMap)
if mapname && mapname!=""
memo+=sprintf("<c3=F83820,E09890>%s\n",mapname)
else
memo+=_INTL("<c3=F83820,E09890>Faraway place\n")
end
memo+=_INTL("<c3=404040,B0B0B0>Egg hatched.\n")
else
memo+="<c3=404040,B0B0B0>\n"
end
end
if shownature
bestiv=0
tiebreaker=pokemon.personalID%6
for i in 0...6
if pokemon.iv[i]==pokemon.iv[bestiv]
bestiv=i if i>=tiebreaker && bestiv<tiebreaker
elsif pokemon.iv[i]>pokemon.iv[bestiv]
bestiv=i
end
end
characteristic=[_INTL("Loves to eat."),
_INTL("Often dozes off."),
_INTL("Often scatters things."),
_INTL("Scatters things often."),
_INTL("Likes to relax."),
_INTL("Proud of its power."),
_INTL("Likes to thrash about."),
_INTL("A little quick tempered."),
_INTL("Likes to fight."),
_INTL("Quick tempered."),
_INTL("Sturdy body."),
_INTL("Capable of taking hits."),
_INTL("Highly persistent."),
_INTL("Good endurance."),
_INTL("Good perseverance."),
_INTL("Likes to run."),
_INTL("Alert to sounds."),
_INTL("Impetuous and silly."),
_INTL("Somewhat of a clown."),
_INTL("Quick to flee."),
_INTL("Highly curious."),
_INTL("Mischievous."),
_INTL("Thoroughly cunning."),
_INTL("Often lost in thought."),
_INTL("Very finicky."),
_INTL("Strong willed."),
_INTL("Somewhat vain."),
_INTL("Strongly defiant."),
_INTL("Hates to lose."),
_INTL("Somewhat stubborn.")
][bestiv*5+pokemon.iv[bestiv]%5]
memo+=sprintf("<c3=404040,B0B0B0>%s\n",characteristic)
end
memo+=_INTL("<c3=404040,B0B0B0>{1} {2},