Fix JP not matching

This commit is contained in:
AnonymousRandomPerson
2024-10-18 22:33:30 -04:00
parent f2e7f20772
commit fbd9e668a5
5 changed files with 1583 additions and 1594 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -3,9 +3,6 @@
typedef s32 fx32_8; // 32-bit signed fixed-point number with 8 fraction bits
typedef u32 ufx32_8; // 32-bit unsigned fixed-point number with 8 fraction bits
typedef u8 undefined;
typedef u16 undefined2;
typedef u32 undefined4;
typedef u8 bool;
// RGBA8 structure. Sometimes alpha is ignored and only used for padding

View File

@@ -6,11 +6,11 @@ extern void sub_02026268(u32, u32, u32, u16);
extern void sub_02039B0C(u32*);
void ov15_0238AD78(u32 r0) {
u32 uVar1;
if (r0 != 0)
uVar1 = 900;
else
uVar1 = 901;
#ifdef JAPAN
u32 uVar1 = r0 != 0 ? 12873 : 12874;
#else
u32 uVar1 = r0 != 0 ? 900 : 901;
#endif
sub_02026268(OVERLAY15_UNKNOWN_POINTER__NA_238B180->unk68, 2, 0, uVar1);
sub_02039B0C(&OVERLAY15_UNKNOWN_POINTER__NA_238B180->unk54);

View File

@@ -19,7 +19,6 @@ extern u16 ov31_02389E22[];
extern void* MemAlloc(u32 size, u32 nmemb);
//extern u32 sub_020348E4(struct struct_1*);
extern struct entity* GetLeader(void);
extern s32 CeilFixedPoint(struct fixed_point);
@@ -89,7 +88,6 @@ void DrawDungeonMenuStatusWindow(struct Window* window)
leader = GetLeader();
leader_info = (struct monster*)leader->info;
//str_values.dungeon_0 = leader_info->roost;
str_values.digits_0 = CeilFixedPoint(leader_info->belly);
str_values.digits_1 = CeilFixedPoint(leader_info->max_belly);