mirror of
https://github.com/zeldaret/tmc
synced 2026-09-06 19:10:56 -04:00
SaveFile cleanup part 1
This commit is contained in:
@@ -53,9 +53,9 @@ void sub_08088A68(BigBarrelEntity* this) {
|
||||
super->spriteSettings.draw = 3;
|
||||
super->updatePriority = 3;
|
||||
if (CheckGlobalFlag(LV1TARU_OPEN)) {
|
||||
super->frameIndex = gSave.unk7 + 1;
|
||||
super->frameIndex = gSave.dws_barrel_state + 1;
|
||||
} else {
|
||||
super->frameIndex = gSave.unk7;
|
||||
super->frameIndex = gSave.dws_barrel_state;
|
||||
}
|
||||
sub_08088BE0(this);
|
||||
if (CheckPlayerInRegion(super->x.HALF.HI - gRoomControls.origin_x, super->y.HALF.HI - gRoomControls.origin_y,
|
||||
|
||||
@@ -474,11 +474,11 @@ void sub_080880D8(FigurineDeviceEntity* this) {
|
||||
it++;
|
||||
}
|
||||
if (++this->unk_7b == 4) {
|
||||
if (gSave.field_0x9[0] != this->unk_80) {
|
||||
if (gSave.field_0x9[0] != 0) {
|
||||
if (gSave.available_figurines != this->unk_80) {
|
||||
if (gSave.available_figurines != 0) {
|
||||
SetRoomFlag(6);
|
||||
}
|
||||
gSave.field_0x9[0] = this->unk_80;
|
||||
gSave.available_figurines = this->unk_80;
|
||||
}
|
||||
if (CheckLocalFlag(SHOP07_COMPLETE) && (this->unk_80 != gSave.stats.filler[0])) {
|
||||
ClearLocalFlag(SHOP07_COMPLETE);
|
||||
|
||||
Reference in New Issue
Block a user