mirror of https://github.com/zeldaret/tmc.git
fix formatting in zeldaFollower.c
This commit is contained in:
parent
9f3adae304
commit
193e503140
|
@ -33,7 +33,6 @@ typedef union {
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
||||||
void sub_08068318(Entity*);
|
void sub_08068318(Entity*);
|
||||||
void sub_0806854C(Entity*, u32*);
|
void sub_0806854C(Entity*, u32*);
|
||||||
void sub_08068578(Entity* this);
|
void sub_08068578(Entity* this);
|
||||||
|
@ -101,12 +100,8 @@ void sub_08068318(Entity* this) {
|
||||||
ZELDA_FOLLOWER_HEAP_SHIFT_RIGHT(this, heapPtr);
|
ZELDA_FOLLOWER_HEAP_SHIFT_RIGHT(this, heapPtr);
|
||||||
animIndex = 0x4;
|
animIndex = 0x4;
|
||||||
} else {
|
} else {
|
||||||
dist = sub_080041E8(
|
dist = sub_080041E8(gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, (u16)heapPtr->FIELDS.x,
|
||||||
gPlayerEntity.x.HALF.HI,
|
(u16)heapPtr->FIELDS.y);
|
||||||
gPlayerEntity.y.HALF.HI,
|
|
||||||
(u16) heapPtr->FIELDS.x,
|
|
||||||
(u16) heapPtr->FIELDS.y
|
|
||||||
);
|
|
||||||
dist = ((u32)dist) >> 0x4;
|
dist = ((u32)dist) >> 0x4;
|
||||||
if (dist > 0x18) {
|
if (dist > 0x18) {
|
||||||
ZELDA_FOLLOWER_HEAP_SHIFT_RIGHT(this, heapPtr);
|
ZELDA_FOLLOWER_HEAP_SHIFT_RIGHT(this, heapPtr);
|
||||||
|
|
Loading…
Reference in New Issue