mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Introduce Player csMode enum (#1462)
* player csmode enum * cleanup * missed one, player2 * spell out enum name * use CSMODE_MAX for data
This commit is contained in:
parent
0aff024c01
commit
aa48c66e10
63 changed files with 655 additions and 535 deletions
|
@ -1074,7 +1074,7 @@ void EnSkj_SetupMaskTrade(EnSkj* this) {
|
|||
void EnSkj_StartMaskTrade(EnSkj* this, PlayState* play) {
|
||||
u8 sp1F = Message_GetState(&play->msgCtx);
|
||||
|
||||
func_8002DF54(play, &this->actor, 1);
|
||||
func_8002DF54(play, &this->actor, PLAYER_CSMODE_1);
|
||||
if ((sp1F == TEXT_STATE_DONE) && Message_ShouldAdvance(play)) {
|
||||
EnSkj_JumpFromStump(this);
|
||||
}
|
||||
|
@ -1172,7 +1172,7 @@ void EnSkj_SetupWaitForMaskTextClear(EnSkj* this) {
|
|||
|
||||
void EnSkj_WaitForMaskTextClear(EnSkj* this, PlayState* play) {
|
||||
if ((Message_GetState(&play->msgCtx) == TEXT_STATE_DONE) && Message_ShouldAdvance(play)) {
|
||||
func_8002DF54(play, &this->actor, 7);
|
||||
func_8002DF54(play, &this->actor, PLAYER_CSMODE_7);
|
||||
this->backflipFlag = 1;
|
||||
EnSkj_Backflip(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue