diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2016-12-12 02:08:36 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-12-11 23:08:36 -0800 |
commit | 36214115534dd9329b5c02d78595967e671b6caf (patch) | |
tree | 953d530079418c9e69679ecc74bde7df367089b9 /src/rom4.c | |
parent | cd1db96498c4ac9ec940611a114a604800e12c2a (diff) |
decompile load_save.c (#125)
* start decompiling load_save.c
* almost finish decompiling load_save.c
* finish decompiling load_save.c
* i cannot hex math
* formatting
Diffstat (limited to 'src/rom4.c')
-rw-r--r-- | src/rom4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rom4.c b/src/rom4.c index a3b0b221d..19f59001b 100644 --- a/src/rom4.c +++ b/src/rom4.c @@ -454,7 +454,7 @@ void sub_80537CC(u8 a1) warp_set(&gSaveBlock1.warp1, warp->group, warp->map, -1, warp->x, warp->y); } -void gpu_sync_bg_hide(void) +void gpu_sync_bg_hide() { gSaveBlock1.warp1 = gSaveBlock1.warp2; } @@ -1262,9 +1262,9 @@ void CB2_ContinueSavedGame(void) PlayTimeCounter_Start(); ScriptContext1_Init(); ScriptContext2_Disable(); - if (sub_80479F8() == 1) + if (GetSecretBase2Field_9() == 1) { - sub_8047A04(); + ClearSecretBase2Field_9(); sub_8053778(); warp_in(); SetMainCallback2(CB2_LoadMap); |