summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-06-20 09:58:05 -0400
committerscnorton <scnorton@biociphers.org>2017-06-20 09:58:05 -0400
commit5aeef909084e6dd8ea75cfc34cdd2601cab1de39 (patch)
treee39f07a68b28b479ad6bf37a75b5e25fce363621 /src
parent6c419f362a02a95d9b54638c222b093b22787f71 (diff)
Another three small functions in field_specials.s
Diffstat (limited to 'src')
-rwxr-xr-xsrc/field_specials.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/field_specials.c b/src/field_specials.c
index d881deed5..ed2718d3d 100755
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -643,3 +643,32 @@ u8 GetPlayerTrainerIdOnesDigit(void)
{
return (u16)((gSaveBlock2.playerTrainerId[1] << 8) | gSaveBlock2.playerTrainerId[0]) % 10;
}
+
+void GetPlayerBigGuyGirlString(void)
+{
+ if (gSaveBlock2.playerGender == MALE)
+ {
+ StringCopy(gStringVar1, gOtherText_BigGuy);
+ }
+ else
+ {
+ StringCopy(gStringVar1, gOtherText_BigGirl);
+ }
+}
+
+void GetRivalSonDaughterString(void)
+{
+ if (gSaveBlock2.playerGender == MALE)
+ {
+ StringCopy(gStringVar1, gOtherText_Daughter);
+ }
+ else
+ {
+ StringCopy(gStringVar1, gOtherText_Son);
+ }
+}
+
+u8 sub_810E300(void)
+{
+ return gUnknown_02024D26;
+}