mirror of
https://github.com/zeldaret/tmc
synced 2026-08-21 06:29:00 -04:00
game.c doc
This commit is contained in:
+2
-2
@@ -148,7 +148,7 @@ void sub_080240B8(Entity* this) {
|
||||
}
|
||||
|
||||
UpdateSpriteForCollisionLayer(this);
|
||||
if (CheckIsDungeon())
|
||||
if (AreaIsDungeon())
|
||||
this->spriteOrientation.flipY = 1;
|
||||
|
||||
this->field_0x80.HALF.HI = Random() & 0x40;
|
||||
@@ -534,7 +534,7 @@ void sub_08024940(Entity* this) {
|
||||
this->z.HALF.HI += 2;
|
||||
}
|
||||
|
||||
if (this->type2 != 0 || CheckIsDungeon()) {
|
||||
if (this->type2 != 0 || AreaIsDungeon()) {
|
||||
if (!sub_08049FA0(this)) {
|
||||
this->direction = sub_08049EE4(this);
|
||||
sub_080249F4(this);
|
||||
|
||||
@@ -653,7 +653,7 @@ void VaatiRebornEnemyType1PreAction(Entity* this) {
|
||||
parent->direction = -1;
|
||||
this->actionDelay = 0;
|
||||
SoundReq(SONG_STOP_BGM);
|
||||
gArea.musicIndex = gArea.pMusicIndex;
|
||||
gArea.bgm = gArea.queued_bgm;
|
||||
return;
|
||||
}
|
||||
this->actionDelay = 1;
|
||||
|
||||
@@ -992,8 +992,8 @@ void sub_0804235C(Entity* this) {
|
||||
void VaatiWrathType0PreAction(Entity* this) {
|
||||
int temp;
|
||||
if ((gRoomTransition.field_0x38 & 2) == 0) {
|
||||
if (gSave.unk48C[3] != 0) {
|
||||
gSave.unk48C[3]--;
|
||||
if (gSave.timers[3] != 0) {
|
||||
gSave.timers[3]--;
|
||||
} else {
|
||||
temp = gPlayerState.framestate_last;
|
||||
if (temp < 2) {
|
||||
|
||||
Reference in New Issue
Block a user