mirror of
https://github.com/pret/pmd-sky.git
synced 2026-10-01 06:37:50 -05:00
Fix JP not matching
This commit is contained in:
2523
include/dungeon.h
2523
include/dungeon.h
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user