summaryrefslogtreecommitdiff
path: root/src/rom4.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2016-11-10 20:01:14 -0600
committerYamaArashi <YamaArashi@users.noreply.github.com>2016-11-10 18:01:14 -0800
commit2e7fd90c5b65a1e5ead6695f8b24ddb53a94beb9 (patch)
treed109aec377cc39f28ee3792968a9afad369bbf2f /src/rom4.c
parentcea650e783f0f57d1946f217e7164d6ce0ac1ef6 (diff)
decompile field_door.c (#97)
* decompile * name some functions and variables * formatting and name more functions
Diffstat (limited to 'src/rom4.c')
-rw-r--r--src/rom4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rom4.c b/src/rom4.c
index d7bd9b7a3..15041cb39 100644
--- a/src/rom4.c
+++ b/src/rom4.c
@@ -172,7 +172,7 @@ u8 sub_8053B60(struct UnkPlayerStruct *playerStruct, u8, u16, u8);
u8 MetatileBehavior_IsSurfableWaterOrUnderwater(u8);
bool8 sub_8056F24(u8);
bool8 sub_8056F08(u8);
-bool8 sub_8056EAC(u8);
+bool8 MetatileBehavior_IsDoor(u8);
bool8 MetatileBehavior_IsSouthArrowWarp(u8);
bool8 MetatileBehavior_IsNorthArrowWarp(u8);
bool8 MetatileBehavior_IsWestArrowWarp(u8);
@@ -769,7 +769,7 @@ u8 sub_8053B60(struct UnkPlayerStruct *playerStruct, u8 a2, u16 a3, u8 a4)
return 4;
if (sub_8056F24(a3) == TRUE)
return 2;
- if (sub_8056F08(a3) == TRUE || sub_8056EAC(a3) == TRUE)
+ if (sub_8056F08(a3) == TRUE || MetatileBehavior_IsDoor(a3) == TRUE)
return 1;
if (MetatileBehavior_IsSouthArrowWarp(a3) == TRUE)
return 2;