diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-01-29 20:59:54 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2017-01-29 17:59:54 -0800 |
commit | b6b5453431af46791fd9d211efac64464c1dff85 (patch) | |
tree | 44148fc13d5f707e426016ac33b8c34f4b6df948 /src/field_control_avatar.c | |
parent | 047c35d6f1ff8888cd25d449d544ce898e0b9fec (diff) |
start decompiling mauville_old_man.c (#225)
* some labels and enumerate player speeds
* clear up speed enums
* GetPlayerSpeed
* oops
* start decompiling mauville_old_man.c
* formatting
* decompile more of mauville_old_man.c
* someone fix this please
* formatting
* make ROM build again
* formatting again
Diffstat (limited to 'src/field_control_avatar.c')
-rw-r--r-- | src/field_control_avatar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field_control_avatar.c b/src/field_control_avatar.c index f05959a79..992e461eb 100644 --- a/src/field_control_avatar.c +++ b/src/field_control_avatar.c @@ -137,7 +137,7 @@ void FieldGetPlayerInput(struct FieldInput *input, u16 newKeys, u16 heldKeys) if ((r6 == 2 && forcedMove == FALSE) || r6 == 0) { - if (sub_80E6034() != 4) + if (GetPlayerSpeed() != 4) { if (newKeys & START_BUTTON) input->pressedStartButton = TRUE; |