mirror of https://github.com/zeldaret/tmc.git
Format
This commit is contained in:
parent
fa1eb01528
commit
b3a2644b4d
|
@ -5,8 +5,6 @@
|
|||
#include "global.h"
|
||||
#include "entity.h"
|
||||
|
||||
|
||||
|
||||
/** Collisions. */
|
||||
typedef enum {
|
||||
COL_NONE = 0x0,
|
||||
|
|
|
@ -223,7 +223,7 @@ void sub_0803A09C(FlyingSkullEntity* this) {
|
|||
GetNextFrame(super);
|
||||
ProcessMovement2(super);
|
||||
|
||||
if (super->collisions != COL_NONE) {
|
||||
if (super->collisions != COL_NONE) {
|
||||
sub_0803A0E0(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -644,7 +644,8 @@ void OctorokBoss_Action1_ChargeAttack(OctorokBossEntity* this) {
|
|||
if ((super->direction != 0) && (super->direction != 0x10)) {
|
||||
knockbackCondition = ((super->collisions & (COL_EAST_ANY | COL_WEST_ANY)) != COL_NONE);
|
||||
}
|
||||
if (((super->direction != 0x18) && (super->direction != 8)) && (super->collisions & (COL_NORTH_ANY | COL_SOUTH_ANY))) {
|
||||
if (((super->direction != 0x18) && (super->direction != 8)) &&
|
||||
(super->collisions & (COL_NORTH_ANY | COL_SOUTH_ANY))) {
|
||||
knockbackCondition = TRUE;
|
||||
}
|
||||
if (knockbackCondition) {
|
||||
|
|
|
@ -1589,7 +1589,7 @@ bool32 IsTileCollision(const u8* layer, s32 x, s32 y, u32 collisionType) {
|
|||
FilledAll,
|
||||
FilledAll,
|
||||
/**/
|
||||
FilledNone
|
||||
FilledNone,
|
||||
};
|
||||
if (tileType > 0x6f) {
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in New Issue