Forgor const

This commit is contained in:
Kermalis 2023-09-04 02:46:34 -04:00
parent f66479a012
commit 7cdd96ce6c
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ typedef struct unkStruct_8092638
extern bool8 *gFriendAreas;
bool8 *GetBoughtFriendAreas(void);
u8 *GetFriendAreaDescription(u8);
const u8 *GetFriendAreaDescription(u8);
const u8 *GetFriendAreaName(u8);
s32 GetFriendAreaPrice(u8);
bool8 GetFriendAreaStatus(u8);

View File

@ -230,7 +230,7 @@ void sub_8092578(u8 *buffer, u8 index, bool8 printPrice)
strcpy(buffer, sFriendAreaNames[index]);
}
u8 *GetFriendAreaDescription(u8 index)
const u8 *GetFriendAreaDescription(u8 index)
{
return sFriendAreaDescriptions[index];
}

View File

@ -480,7 +480,7 @@ void sub_8021878(void)
void sub_8021894(void)
{
u8 *string;
const u8 *string;
u32 y;
u32 x;
s32 index;