diff options
| author | Henny022p <info@henny022.de> | 2025-03-02 17:36:29 +0000 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2025-03-09 18:57:54 +0000 |
| commit | 58c948b8c4734bd7735edf918cae0af39771647c (patch) | |
| tree | 2478f0e4f412849c8bea8e3b3a6cd07300c700e8 /src/object/warpPoint.c | |
| parent | cd2b8d4b531ee5b4b78d04964a3f895edc31db73 (diff) | |
name flag fields in structs
Diffstat (limited to 'src/object/warpPoint.c')
| -rw-r--r-- | src/object/warpPoint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/warpPoint.c b/src/object/warpPoint.c index 67798907..dfd66d1b 100644 --- a/src/object/warpPoint.c +++ b/src/object/warpPoint.c @@ -18,7 +18,7 @@ typedef struct { /*0x7d*/ u8 unk_7d; /*0x7e*/ u8 unused3[6]; /*0x84*/ u16 unk_84; - /*0x86*/ u16 unk_86; + /*0x86*/ u16 flag; } WarpPointEntity; extern void EnableDungeonWarp(u32); @@ -58,7 +58,7 @@ void WarpPoint_Init(WarpPointEntity* this) { super->hitbox = (Hitbox*)&gHitbox_1; super->updatePriority = PRIO_NO_BLOCK; InitializeAnimation(super, 0); - if (CheckFlags(this->unk_86)) { + if (CheckFlags(this->flag)) { sub_0808B830(this); } else { if (AreaIsDungeon() && IsDungeonWarpActive(super->type)) { @@ -77,7 +77,7 @@ void WarpPoint_Init(WarpPointEntity* this) { } void WarpPoint_Action1(WarpPointEntity* this) { - if (CheckFlags(this->unk_86)) { + if (CheckFlags(this->flag)) { sub_0808B830(this); if (AreaIsDungeon()) { EnableDungeonWarp(super->type); |
