mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-02 09:51:44 -04:00
Document EnKendoJs (#1838)
* Document `EnKendoJs` * Fix typedefs * Fix isSlashingLog reference * Found out what that unused animation was * Rename animation constants * Rename WEEKEVENTREG flag * Remove trailing whitespaces * Fix uses of isSlashingLog * Rename Skel object * Deciphered FF part of params * Dismantle message enum * Remove mask message macro * Refactor message start macro * Rename text ID arrays * Use boolean values for isRetracting * Remove statement added by faulty merge * Rename message handler functions * Minigame round union for clarity
This commit is contained in:
@@ -1761,7 +1761,7 @@ void Interface_UpdateButtonsPart2(PlayState* play) {
|
||||
}
|
||||
|
||||
Interface_SetHudVisibility(HUD_VISIBILITY_B);
|
||||
} else if (CHECK_WEEKEVENTREG(WEEKEVENTREG_82_08)) {
|
||||
} else if (CHECK_WEEKEVENTREG(WEEKEVENTREG_PLAYING_SWORDSMAN_MINIGAME)) {
|
||||
// Swordsman's log minigame
|
||||
for (i = EQUIP_SLOT_C_LEFT; i <= EQUIP_SLOT_C_RIGHT; i++) {
|
||||
if (gSaveContext.buttonStatus[i] == BTN_ENABLED) {
|
||||
@@ -2282,7 +2282,7 @@ void Interface_UpdateButtonsPart1(PlayState* play) {
|
||||
Interface_SetHudVisibility(HUD_VISIBILITY_A_B_MINIMAP);
|
||||
} else if ((gSaveContext.minigameStatus == MINIGAME_STATUS_ACTIVE) && CHECK_EVENTINF(EVENTINF_35)) {
|
||||
Interface_SetHudVisibility(HUD_VISIBILITY_B_MINIMAP);
|
||||
} else if (!CHECK_WEEKEVENTREG(WEEKEVENTREG_82_08) &&
|
||||
} else if (!CHECK_WEEKEVENTREG(WEEKEVENTREG_PLAYING_SWORDSMAN_MINIGAME) &&
|
||||
(gSaveContext.minigameStatus == MINIGAME_STATUS_ACTIVE)) {
|
||||
Interface_SetHudVisibility(HUD_VISIBILITY_B);
|
||||
} else if (play->bButtonAmmoPlusOne >= 2) {
|
||||
|
||||
@@ -363,13 +363,13 @@ void func_80122F28(Player* player) {
|
||||
}
|
||||
}
|
||||
|
||||
bool func_80122F9C(PlayState* play) {
|
||||
bool Player_IsBackJumping(PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
return (player->stateFlags2 & PLAYER_STATE2_80000) && (player->av1.actionVar1 == 2);
|
||||
}
|
||||
|
||||
bool func_80122FCC(PlayState* play) {
|
||||
bool Player_IsSideJumping(PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
return (player->stateFlags2 & PLAYER_STATE2_80000) &&
|
||||
|
||||
Reference in New Issue
Block a user