mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +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
|
@ -422,7 +422,7 @@ void func_80B4BBC4(EnZl1* this, PlayState* play) {
|
|||
Player* player = GET_PLAYER(play);
|
||||
|
||||
Animation_Change(&this->skelAnime, &gChildZelda1Anim_00438, 1.0f, 0.0f, frameCount, ANIMMODE_LOOP, 0.0f);
|
||||
func_8002DF54(play, &this->actor, 1);
|
||||
func_8002DF54(play, &this->actor, PLAYER_CSMODE_1);
|
||||
func_8002F7DC(&player->actor, NA_SE_VO_LI_SURPRISE_KID);
|
||||
this->actor.textId = 0x7039;
|
||||
Message_StartTextbox(play, this->actor.textId, NULL);
|
||||
|
@ -555,7 +555,7 @@ void func_80B4BF2C(EnZl1* this, PlayState* play) {
|
|||
break;
|
||||
case 6:
|
||||
if (Actor_TextboxIsClosing(&this->actor, play)) {
|
||||
func_8002DF54(play, &this->actor, 7);
|
||||
func_8002DF54(play, &this->actor, PLAYER_CSMODE_7);
|
||||
Interface_ChangeHudVisibilityMode(HUD_VISIBILITY_ALL);
|
||||
this->actor.flags &= ~ACTOR_FLAG_8;
|
||||
this->unk_1E2 = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue