From 3f0845880920b2d72fc2cc99d189af83ca33cd55 Mon Sep 17 00:00:00 2001 From: SuperDude88 <82904174+SuperDude88@users.noreply.github.com> Date: Sun, 16 Jun 2024 01:55:31 -0400 Subject: d_a_npc_people Almost OK (#658) * daNpcPeople Work * Oops Somehow I break this file every time I touch it --- src/d/d_com_static.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/d/d_com_static.cpp') diff --git a/src/d/d_com_static.cpp b/src/d/d_com_static.cpp index 7b8dd7ff..4cc67191 100644 --- a/src/d/d_com_static.cpp +++ b/src/d/d_com_static.cpp @@ -211,13 +211,13 @@ const u16 daDai_c::m_savelabel[] = { }; /* 800568A8-800568B0 .text getMaxDaiza__7daDai_cFv */ -s8 daDai_c::getMaxDaiza() { - return mNowDaizaNum; +int daDai_c::getMaxDaiza() { + return (u8)mNowDaizaNum; // cast is weird, but it's the only way I've found to match its uses in d_a_npc_people } /* 800568B0-800568B8 .text getDaizaSetItemNum__7daDai_cFv */ -s8 daDai_c::getDaizaSetItemNum() { - return mNowItemNum; +int daDai_c::getDaizaSetItemNum() { + return (u8)mNowItemNum; // cast is weird, but it's the only way I've found to match its uses in d_a_npc_people } bool daNpc_Os_c::m_playerRoom[3] = { false, false, false }; -- cgit v1.2.3