mirror of https://github.com/zeldaret/tmc.git
14 lines
419 B
C
14 lines
419 B
C
#include "asm.h"
|
|
#include "entity.h"
|
|
#include "functions.h"
|
|
|
|
void Manager2D_Main(Entity* this) {
|
|
SetTile(0x4014, 0x5c3, 1);
|
|
if ((gRoomControls.origin_y + 200 < gPlayerEntity.y.HALF.HI) &&
|
|
((u32)(gPlayerEntity.x.HALF.HI - gRoomControls.origin_x) - 0x30 < 0x11)) {
|
|
gPlayerEntity.collisionLayer = 3;
|
|
UpdateSpriteForCollisionLayer(&gPlayerEntity);
|
|
}
|
|
DeleteManager((Manager*)this);
|
|
}
|