diff options
author | Cameron Hall <cameronghall@cox.net> | 2018-01-21 13:53:32 -0600 |
---|---|---|
committer | Cameron Hall <cameronghall@cox.net> | 2018-01-21 13:53:32 -0600 |
commit | 11a9371349e1743a18dce28cc60b69dd6a29b665 (patch) | |
tree | e696d1fda7556af8b5234eae833ea2fd146fc75d /src/field/region_map.c | |
parent | 7383117626ebb2b3d993e5ad8855da5752c9cce8 (diff) | |
parent | 68a402883f780a61f54c2f0c8740429d0b2b3a81 (diff) |
resolve merge conflicts and make it compile
Diffstat (limited to 'src/field/region_map.c')
-rw-r--r-- | src/field/region_map.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/field/region_map.c b/src/field/region_map.c index 9194e791d..7bfda1a81 100644 --- a/src/field/region_map.c +++ b/src/field/region_map.c @@ -1608,8 +1608,8 @@ static void PrintFlyTargetName(void) { if (ewram0_3.regionMap.unk16 == 2 || ewram0_3.regionMap.unk16 == 4) { - u16 i = 0; - int zero; + u16 i; + bool32 drawFrameDisabled = FALSE; for (i = 0; i < ARRAY_COUNT(gUnknown_083E79C0); i++) { @@ -1627,9 +1627,8 @@ static void PrintFlyTargetName(void) break; } } - // This check is always true, but somehow the compiler still performed it. - asm("mov %0, #0\n":"=r"(zero)); // zero = 0 - if (zero == 0) + + if (!drawFrameDisabled) { Menu_DrawStdWindowFrame(16, 16, 29, 19); Menu_PrintText(ewram0_3.regionMap.mapSectionName, 17, 17); |