diff options
| author | Henny022p <info@henny022.de> | 2023-08-02 20:50:18 +0200 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2023-08-02 20:50:18 +0200 |
| commit | bc2201598711ba1980789384e0c79c3593cd25f0 (patch) | |
| tree | 11d6e5add498a9927a59d985c66ddcc48e461cce /src/subtask | |
| parent | 064bc43e78760b8d55d6cd4653d2b926aaea4958 (diff) | |
SaveFile cleanup part 1
Diffstat (limited to 'src/subtask')
| -rw-r--r-- | src/subtask/subtaskFastTravel.c | 2 | ||||
| -rw-r--r-- | src/subtask/subtaskMapHint.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/subtask/subtaskFastTravel.c b/src/subtask/subtaskFastTravel.c index 0f657cb7..6e4749e6 100644 --- a/src/subtask/subtaskFastTravel.c +++ b/src/subtask/subtaskFastTravel.c @@ -168,7 +168,7 @@ void sub_080A6E70(void) { DrawDirect(DRAW_DIRECT_SPRITE_INDEX, frameIndex); for (i = 0; i < 8; i++) { - if ((gSave.windcrests & (1 << (i + 0x18))) != 0) { + if (IS_BIT_SET(gSave.windcrests, i + 24)) { sub_080A6EE0(i); DrawDirect(DRAW_DIRECT_SPRITE_INDEX, 0x5c); } diff --git a/src/subtask/subtaskMapHint.c b/src/subtask/subtaskMapHint.c index 2a802f2b..201a8638 100644 --- a/src/subtask/subtaskMapHint.c +++ b/src/subtask/subtaskMapHint.c @@ -38,7 +38,7 @@ void Subtask_MapHint_0(void) { gScreen.lcd.displayControl = gScreen.lcd.displayControl & 0xf7ff; SetColor(0, gPaletteBuffer[0x51]); val = gUnk_08128F4C[gUI.field_0x3]; - gSave.field_0x20 |= val; + gSave.map_hints |= val; gGenericMenu.unk10.h[1] = val & gGenericMenu.unk10.h[0]; gGenericMenu.unk10.h[0] = 0; gMenu.transitionTimer = 60; |
