mirror of
https://github.com/zeldaret/tmc
synced 2026-08-11 11:33:31 -04:00
game.c doc
This commit is contained in:
@@ -8,7 +8,7 @@ void Archway(Entity* this) {
|
||||
this->frameIndex = this->type2;
|
||||
this->collisionLayer = 2;
|
||||
UpdateSpriteForCollisionLayer(this);
|
||||
if (CheckIsDungeon()) {
|
||||
if (AreaIsDungeon()) {
|
||||
this->spritePriority.b0 = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ void sub_08083338(Entity* this) {
|
||||
if (!CheckFlags(this->field_0x86.HWORD)) {
|
||||
this->frameIndex |= 4;
|
||||
sub_080836DC(this, this->field_0x7c.BYTES.byte2, this->field_0x76.HWORD);
|
||||
if (!CheckIsDungeon()) {
|
||||
if (!AreaIsDungeon()) {
|
||||
this->action = 5;
|
||||
} else {
|
||||
this->action = 8;
|
||||
|
||||
@@ -7,7 +7,7 @@ void MinishSizedArchway(Entity* this) {
|
||||
this->frameIndex = this->type;
|
||||
this->collisionLayer = 2;
|
||||
UpdateSpriteForCollisionLayer(this);
|
||||
if (CheckIsDungeon()) {
|
||||
if (AreaIsDungeon()) {
|
||||
this->spritePriority.b0 = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ void sub_08090EC0(Entity* this) {
|
||||
this->spriteRendering.b3 = 3;
|
||||
this->spritePriority.b0 = 7;
|
||||
this->frameIndex = this->type2;
|
||||
if (CheckIsDungeon()) {
|
||||
if (AreaIsDungeon()) {
|
||||
this->frameIndex += 4;
|
||||
sub_080AE068(this);
|
||||
LoadFixedGFX(this, 0x184);
|
||||
|
||||
@@ -45,7 +45,7 @@ void sub_0808B474(Entity* this) {
|
||||
if (CheckFlags(this->field_0x86.HWORD)) {
|
||||
sub_0808B830(this);
|
||||
} else {
|
||||
if (CheckIsDungeon() && sub_0807CAEC(this->type)) {
|
||||
if (AreaIsDungeon() && sub_0807CAEC(this->type)) {
|
||||
sub_0808B830(this);
|
||||
}
|
||||
}
|
||||
@@ -63,7 +63,7 @@ void sub_0808B474(Entity* this) {
|
||||
void sub_0808B530(Entity* this) {
|
||||
if (CheckFlags(this->field_0x86.HWORD)) {
|
||||
sub_0808B830(this);
|
||||
if (CheckIsDungeon()) {
|
||||
if (AreaIsDungeon()) {
|
||||
sub_0807CAC8(this->type);
|
||||
}
|
||||
this->action = 2;
|
||||
|
||||
Reference in New Issue
Block a user