summaryrefslogtreecommitdiff
path: root/src/object/warpPoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/warpPoint.c')
-rw-r--r--src/object/warpPoint.c6
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);