diff options
author | scnorton <scnorton@biociphers.org> | 2017-06-20 09:58:05 -0400 |
---|---|---|
committer | scnorton <scnorton@biociphers.org> | 2017-06-20 09:58:05 -0400 |
commit | 5aeef909084e6dd8ea75cfc34cdd2601cab1de39 (patch) | |
tree | e39f07a68b28b479ad6bf37a75b5e25fce363621 /src | |
parent | 6c419f362a02a95d9b54638c222b093b22787f71 (diff) |
Another three small functions in field_specials.s
Diffstat (limited to 'src')
-rwxr-xr-x | src/field_specials.c | 29 |
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; +} |