mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-18 13:00:23 +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
|
@ -1924,7 +1924,7 @@ void EnGo2_GoronFireGenericAction(EnGo2* this, PlayState* play) {
|
|||
(f32)((Math_SinS(this->actor.world.rot.y) * -30.0f) + this->actor.world.pos.x);
|
||||
player->actor.world.pos.z =
|
||||
(f32)((Math_CosS(this->actor.world.rot.y) * -30.0f) + this->actor.world.pos.z);
|
||||
func_8002DF54(play, &this->actor, 8);
|
||||
func_8002DF54(play, &this->actor, PLAYER_CSMODE_8);
|
||||
Audio_PlayFanfare(NA_BGM_APPEAR);
|
||||
}
|
||||
break;
|
||||
|
@ -1961,7 +1961,7 @@ void EnGo2_GoronFireGenericAction(EnGo2* this, PlayState* play) {
|
|||
case 4: // Finalize walking away
|
||||
Message_CloseTextbox(play);
|
||||
EnGo2_GoronFireClearCamera(this, play);
|
||||
func_8002DF54(play, &this->actor, 7);
|
||||
func_8002DF54(play, &this->actor, PLAYER_CSMODE_7);
|
||||
Actor_Kill(&this->actor);
|
||||
break;
|
||||
case 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue