Change map header flags to use a bitfield

This commit is contained in:
ExpoSeed
2021-06-13 16:32:00 -05:00
parent f85fb3af89
commit b6b0062bd6
5 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -1053,7 +1053,7 @@ void Bike_HandleBumpySlopeJump(void)
bool32 IsRunningDisallowed(u8 metatile)
{
if (!(gMapHeader.flags & MAP_ALLOW_RUNNING) || IsRunningDisallowedByMetatile(metatile) == TRUE)
if (!gMapHeader.allowRunning || IsRunningDisallowedByMetatile(metatile) == TRUE)
return TRUE;
else
return FALSE;