mirror of
https://github.com/zeldaret/tmc
synced 2026-09-06 19:10:56 -04:00
SaveFile cleanup part 3
This commit is contained in:
+1
-1
@@ -429,7 +429,7 @@ void sub_0806D5D4(void) {
|
||||
}
|
||||
|
||||
void sub_0806D600(Entity* this, ScriptExecutionContext* context) {
|
||||
context->condition = gSave.timers[2] == 0;
|
||||
context->condition = gSave.biggoron_timer == 0;
|
||||
}
|
||||
|
||||
void sub_0806D620(void) {
|
||||
|
||||
@@ -706,13 +706,13 @@ void sub_08060318(void) {
|
||||
}
|
||||
|
||||
void sub_08060340(void) {
|
||||
gSave.timers[1] = gSave.enemies_killed;
|
||||
gSave.drug_kill_count = gSave.enemies_killed;
|
||||
}
|
||||
|
||||
u32 sub_08060354(void) {
|
||||
s32 iVar2;
|
||||
|
||||
iVar2 = gSave.enemies_killed - gSave.timers[1];
|
||||
iVar2 = gSave.enemies_killed - gSave.drug_kill_count;
|
||||
if (CheckGlobalFlag(DRUG_1) == 0) {
|
||||
if (4 < iVar2) {
|
||||
return 0x8444;
|
||||
|
||||
@@ -182,7 +182,7 @@ void sub_0806387C(Entity* this) {
|
||||
if (CheckLocalFlag(SHOP05_OPEN) == 0) {
|
||||
r5 = 0;
|
||||
for (r4 = 1; r4 <= 0x82; r4++) {
|
||||
if (ReadBit(&gSave.stats.filler4[4], r4)) {
|
||||
if (ReadBit(gSave.figurines, r4)) {
|
||||
r5++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user