#ifndef COMPILE_H
#include "COMPILE.H"
#endif
#ifdef MEDIA676_F31E_F31J_X31J_P31J_AU1E_AU2E_AU3E
void F7064_PadChampionNameAndTitle(
#ifdef MEDIA675_F31E_F31J_X31J_P31J_AU1E
unsigned int16_t P3585_ui_GameIndex)
#endif
#ifdef MEDIA768_AU2E_AU3E
register GAME* P6023_ps_Game)
#endif
{
        unsigned int16_t L3974_ui_ChampionIndex;
        unsigned int16_t L3973_ui_CharacterIndex;
#ifdef MEDIA675_F31E_F31J_X31J_P31J_AU1E
        GAME* L3970_ps_Game;
#endif
        char* L3971_pc_Name;
        char* L3972_pc_Title;


#ifdef MEDIA675_F31E_F31J_X31J_P31J_AU1E
        L3970_ps_Game = &G7111_Games[P3585_ui_GameIndex];
        for (L3974_ui_ChampionIndex = 0; L3974_ui_ChampionIndex < L3970_ps_Game->GlobalData.PartyChampionCount; L3974_ui_ChampionIndex++) {
                L3971_pc_Name = (char*)F7067_GetChampionInfo(L3970_ps_Game, L3974_ui_ChampionIndex, C01_CHAMPION_INFO_NAME);
                L3972_pc_Title = (char*)F7067_GetChampionInfo(L3970_ps_Game, L3974_ui_ChampionIndex, C02_CHAMPION_INFO_TITLE);
#endif
#ifdef MEDIA768_AU2E_AU3E
        for (L3974_ui_ChampionIndex = 0; L3974_ui_ChampionIndex < P6023_ps_Game->GlobalData.PartyChampionCount; L3974_ui_ChampionIndex++) {
                L3971_pc_Name = (char*)F7067_GetChampionInfo(P6023_ps_Game, L3974_ui_ChampionIndex, C01_CHAMPION_INFO_NAME);
                L3972_pc_Title = (char*)F7067_GetChampionInfo(P6023_ps_Game, L3974_ui_ChampionIndex, C02_CHAMPION_INFO_TITLE);
#endif
                for (L3973_ui_CharacterIndex = 0; L3973_ui_CharacterIndex < 8; L3973_ui_CharacterIndex++) {
                        if (L3971_pc_Name[L3973_ui_CharacterIndex] == '\0') {
                                break;
                        }
#ifdef MEDIA768_AU2E_AU3E
                        if ((L3971_pc_Name[L3973_ui_CharacterIndex] == 'z') || (L3971_pc_Name[L3973_ui_CharacterIndex] == '}')) {
                                L3971_pc_Name[L3973_ui_CharacterIndex] = '\'';
                        }
#endif
                }
                while (L3973_ui_CharacterIndex < 8) {
                        L3971_pc_Name[L3973_ui_CharacterIndex] = '\0';
                        L3973_ui_CharacterIndex++;
                }
                for (L3973_ui_CharacterIndex = 0; L3973_ui_CharacterIndex < 20; L3973_ui_CharacterIndex++) {
                        if (L3972_pc_Title[L3973_ui_CharacterIndex] == '\0') {
                                break;
                        }
#ifdef MEDIA768_AU2E_AU3E
                        if ((L3972_pc_Title[L3973_ui_CharacterIndex] == 'z') || (L3972_pc_Title[L3973_ui_CharacterIndex] == '}')) {
                                L3972_pc_Title[L3973_ui_CharacterIndex] = '\'';
                        }
#endif
                }
                while (L3973_ui_CharacterIndex < 20) {
                        L3972_pc_Title[L3973_ui_CharacterIndex] = '\0';
                        L3973_ui_CharacterIndex++;
                }
        }
}
#endif
