diff options
author | ExpoSeed <43502820+ExpoSeed@users.noreply.github.com> | 2020-06-13 00:08:09 -0500 |
---|---|---|
committer | ExpoSeed <43502820+ExpoSeed@users.noreply.github.com> | 2020-06-13 00:08:09 -0500 |
commit | 25dd86824862ffa7bd333eeea1cc31d126fa4881 (patch) | |
tree | ec19a98060b973eb2d0338b71e1e7d0a9077d8f5 | |
parent | 6d0798fa1ff87da368755c63f0af16ee9ed17bc8 (diff) |
Created Allow running indoors (markdown)
-rw-r--r-- | Allow-running-indoors.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Allow-running-indoors.md b/Allow-running-indoors.md new file mode 100644 index 0000000..a606fc9 --- /dev/null +++ b/Allow-running-indoors.md @@ -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!
\ No newline at end of file |