start d_a_player_tact, add player status enums

This commit is contained in:
LagoLunatic
2023-12-28 18:58:56 -05:00
parent a04f2c6b61
commit e6edfa7b6f
15 changed files with 217 additions and 62 deletions
+2 -2
View File
@@ -113,9 +113,9 @@ s32 daSwTact_c::getAnswer() {
/* 00000410-000006AC .text _execute__10daSwTact_cFv */
bool daSwTact_c::_execute() {
daPy_py_c * player = daPy_getPlayerActorClass();
u32 stts1 = dComIfGp_checkPlayerStatus1(0, 0x01);
u32 stts1 = dComIfGp_checkPlayerStatus1(0, daPyStts1_WIND_WAKER_CONDUCT_e);
if (player == NULL || dComIfGp_checkPlayerStatus0(0, 0x10000))
if (player == NULL || dComIfGp_checkPlayerStatus0(0, daPyStts0_SHIP_RIDE_e))
return true;
if ((player->current.pos - current.pos).absXZ() <= getR()) {