mirror of https://github.com/pret/pokeemerald.git
Created Allow running indoors (markdown)
parent
6d0798fa1f
commit
25dd868248
|
@ -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!
|
Loading…
Reference in New Issue