mirror of
https://github.com/zeldaret/tmc
synced 2026-06-07 12:07:37 -04:00
merge master
This commit is contained in:
@@ -256,7 +256,7 @@ void sub_0808EB74(Entity* this) {
|
||||
this->x.WORD = entity->x.WORD;
|
||||
this->y.WORD = entity->y.WORD;
|
||||
this->spriteRendering.b3 = entity->spriteRendering.b3;
|
||||
ResolveEntityBelow(entity, this);
|
||||
SortEntityBelow(entity, this);
|
||||
} else {
|
||||
this->x.HALF.HI = 0xF000;
|
||||
this->y.HALF.HI = 0xF000;
|
||||
@@ -306,7 +306,7 @@ void sub_0808EBB8(Entity* this) {
|
||||
default:
|
||||
entity = sub_0808EC80(var0);
|
||||
if (entity) {
|
||||
ResolveEntityBelow(entity, this);
|
||||
SortEntityBelow(entity, this);
|
||||
this->spriteRendering.b3 = entity->spriteRendering.b3;
|
||||
x = entity->x.HALF.HI;
|
||||
y = entity->y.HALF.HI;
|
||||
@@ -322,7 +322,7 @@ static Entity* sub_0808EC80(int form) {
|
||||
Entity* entityA = (Entity*)&gEntityLists[6];
|
||||
Entity* entityB = entityA->next;
|
||||
while (entityB != entityA) {
|
||||
if ((entityB->kind == 0x6 && entityB->id == 0x48) && form == entityB->type) {
|
||||
if ((entityB->kind == OBJECT && entityB->id == 0x48) && form == entityB->type) {
|
||||
return entityB;
|
||||
}
|
||||
entityB = entityB->next;
|
||||
|
||||
Reference in New Issue
Block a user