Created Allow running indoors (markdown)

ExpoSeed 2020-06-13 00:08:09 -05:00
parent 6d0798fa1f
commit 25dd868248
1 changed files with 16 additions and 0 deletions

16
Allow-running-indoors.md Normal file

@ -0,0 +1,16 @@
Credit to TheXaman for posting this in the Simple Modifications Pokecommunity thread.
This tutorial will allow the player to run on any map.
Edit [src/bike.c](../blob/master/src/bike.c):
```diff
bool32 IsRunningDisallowed(u8 metatile)
{
- if (!(gMapHeader.flags & MAP_ALLOW_RUNNING) || IsRunningDisallowedByMetatile(metatile) == TRUE)
+ if (IsRunningDisallowedByMetatile(metatile) == TRUE)
return TRUE;
else
return FALSE;
}
```
And that's it!