mirror of https://github.com/pret/pokeemerald.git
Updated with current codebase
parent
bac19a1c81
commit
d74e8e3e5d
|
@ -8,7 +8,7 @@ Edit [src/bike.c](../blob/master/src/bike.c):
|
||||||
```diff
|
```diff
|
||||||
bool32 IsRunningDisallowed(u8 metatile)
|
bool32 IsRunningDisallowed(u8 metatile)
|
||||||
{
|
{
|
||||||
- if (!(gMapHeader.flags & MAP_ALLOW_RUNNING) || IsRunningDisallowedByMetatile(metatile) == TRUE)
|
- if (!gMapHeader.allowRunning || IsRunningDisallowedByMetatile(metatile) == TRUE)
|
||||||
+ if (IsRunningDisallowedByMetatile(metatile) == TRUE)
|
+ if (IsRunningDisallowedByMetatile(metatile) == TRUE)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue