player_crawl and player_hammer 100%, misc player cleanup

This commit is contained in:
LagoLunatic
2025-05-07 23:00:35 -04:00
parent 224b83ed8c
commit 534f5d4e72
12 changed files with 549 additions and 647 deletions
+3 -1
View File
@@ -11,7 +11,7 @@ public:
};
void getMiniGameRestArrow() {}
int getMiniGameRestArrow() { return 10 - mB78; }
void isAnm(signed char) {}
void modeProcInit(int) {}
@@ -128,6 +128,8 @@ public:
public:
/* Place member variables here */
/* 0x290 */ u8 m290[0xB78 - 0x290];
/* 0xB78 */ int mB78;
};
class daNpc_So_HIO_c {
+1 -4
View File
@@ -469,6 +469,7 @@ public:
void offConfuse() { offNoResetFlg1(daPyFlg1_CONFUSE); }
bool checkConfuse() const { return checkNoResetFlg1(daPyFlg1_CONFUSE); }
bool checkFreezeState() const { return checkNoResetFlg1(daPyFlg1_FREEZE_STATE); }
bool checkUseArrowEffect() const { return checkNoResetFlg1(daPyFlg1_USE_ARROW_EFFECT); }
void onUseArrowEffect() { onNoResetFlg1(daPyFlg1_USE_ARROW_EFFECT); }
void offUseArrowEffect() { offNoResetFlg1(daPyFlg1_USE_ARROW_EFFECT); }
void onLetterReadEyeMove() { onNoResetFlg1(daPyFlg1_LETTER_READ_EYE_MOVE); }
@@ -516,13 +517,9 @@ public:
void checkBowMiniGame() const {}
void checkSoupPowerUp() const {}
void checkSubjectAccept() const {}
void checkUseArrowEffect() const {}
void getRopeJumpLand() const {}
void checkRopeForceEnd() const {}
// This class's weak virtual functions tend to cause weak function ordering issues in TUs that use them.
// The proper way to match this is still unknown, so some of the definitions have been temporarily commented out
// here so that they can be fakematched instead.
virtual MtxP getLeftHandMatrix() = 0;
virtual MtxP getRightHandMatrix() = 0;
virtual f32 getGroundY() = 0;