D a npc gra matching debug (#2788)

* match all d_a_npc_gra functions in debug

* update all offsets to match release

* rename parameters

* add ct hack for d_a_npc_gra

* add suggestions

* fix type

* use sound enums

* fix sinit and one regswap

* fix wrong variable usage
This commit is contained in:
roeming
2025-11-09 15:17:04 -08:00
committed by GitHub
parent ba7cdd4fe9
commit 5c298bc401
9 changed files with 4273 additions and 3670 deletions
+8 -1
View File
@@ -137,7 +137,14 @@ public:
void onFlag2(u16 flag) { mFlag2 |= flag; }
void offFlag2(u16 flag) { mFlag2 &= ~flag; }
BOOL chkTalkXY() { return mTalkXyType == 1 || mTalkXyType == 2; }
BOOL chkTalkXY()
{
#if PLATFORM_WII || PLATFORM_SHIELD
return mTalkXyType == 1 || mTalkXyType == 2 || mTalkXyType == 3 || mTalkXyType == 4;
#else
return mTalkXyType == 1 || mTalkXyType == 2;
#endif
}
BOOL isOrderOK() { return mEventStatus == 0 || mEventStatus == 2; }