Correct European mail documentation (#1142)

This commit is contained in:
abcboy101 2024-09-26 00:20:30 -04:00 committed by GitHub
parent 017bffaef9
commit 2408579942
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 6 deletions

View File

@ -38,8 +38,9 @@ SpanishItalianFont:
INCBIN "gfx/font/spanish_italian.1bpp" INCBIN "gfx/font/spanish_italian.1bpp"
ConvertFrenchGermanMailToEnglish: ConvertFrenchGermanMailToEnglish:
; Called if mail is French or German ; Called when sending French or German mail
; Converts 's 't 'v from French/German character set to English ; Remaps 's from French/German character set to English
; Converts c' d' j' from French/German character set to unused values in English
ld b, sPartyMon1MailAuthor - sPartyMon1Mail ld b, sPartyMon1MailAuthor - sPartyMon1Mail
ld h, d ld h, d
ld l, e ld l, e
@ -67,8 +68,9 @@ ConvertFrenchGermanMailToEnglish:
ret ret
ConvertEnglishMailToFrenchGerman: ConvertEnglishMailToFrenchGerman:
; Called if mail is English and game is French or German ; Called when receiving French or German mail
; Converts 's 't 'v from English character set to French/German ; Remaps 's from English character set to French/German
; Converts unused values from English character set back to c' d' j' in French/German
ld b, sPartyMon1MailAuthor - sPartyMon1Mail ld b, sPartyMon1MailAuthor - sPartyMon1Mail
ld h, d ld h, d
ld l, e ld l, e
@ -96,11 +98,13 @@ ConvertEnglishMailToFrenchGerman:
ret ret
ConvertSpanishItalianMailToEnglish: ConvertSpanishItalianMailToEnglish:
; Called if mail is Spanish or Italian ; Called when sending Spanish or Italian mail
; Converts 'd 'l 'm 'r 's 't 'v from Spanish/Italian character set to English ; Converts 'd 'l 'm 'r 's 't 'v from Spanish/Italian character set to English
; Converts ì í ñ ò ó ú º from Spanish/Italian character set to unused values in English
ConvertEnglishMailToSpanishItalian: ConvertEnglishMailToSpanishItalian:
; Called if mail is English and game is Spanish or Italian ; Called when receiving Spanish or Italian mail
; Converts 'd 'l 'm 'r 's 't 'v from English character set to Spanish/Italian ; Converts 'd 'l 'm 'r 's 't 'v from English character set to Spanish/Italian
; Converts unused values from English character set back to ì í ñ ò ó ú º in Spanish/Italian
ld b, sPartyMon1MailAuthor - sPartyMon1Mail ld b, sPartyMon1MailAuthor - sPartyMon1Mail
ld h, d ld h, d
ld l, e ld l, e