mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Restructure event flags in z64save.h (1/?) (#2380)
* Simplify most event flags * EVENTINF_HORSES_INDEX -> EVENTINF_INDEX_HORSES * Add missing index numbers * pr suggestions * Clean up INGO_RACE flags
This commit is contained in:
parent
471fe51c82
commit
ee4b3474a5
18 changed files with 166 additions and 164 deletions
|
@ -500,7 +500,7 @@ void EnIn_Init(Actor* thisx, PlayState* play) {
|
|||
respawnPos = respawn->pos;
|
||||
// hardcoded coords for lon lon entrance
|
||||
if (D_80A7B998 == 0 && respawnPos.x == 1107.0f && respawnPos.y == 0.0f && respawnPos.z == -3740.0f) {
|
||||
gSaveContext.eventInf[EVENTINF_HORSES_INDEX] = 0;
|
||||
gSaveContext.eventInf[EVENTINF_INDEX_HORSES] = 0;
|
||||
D_80A7B998 = 1;
|
||||
}
|
||||
this->actionFunc = EnIn_WaitForObject;
|
||||
|
@ -586,7 +586,7 @@ void EnIn_WaitForObject(EnIn* this, PlayState* play) {
|
|||
case INGO_RACE_STATE_RACING:
|
||||
EnIn_ChangeAnim(this, ENIN_ANIM_2);
|
||||
this->actionFunc = func_80A7A4C8;
|
||||
gSaveContext.eventInf[EVENTINF_HORSES_INDEX] = 0;
|
||||
gSaveContext.eventInf[EVENTINF_INDEX_HORSES] = 0;
|
||||
break;
|
||||
case INGO_RACE_STATE_HORSE_RENTAL_PERIOD:
|
||||
this->actor.attentionRangeType = ATTENTION_RANGE_3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue