From 96372eb336d21e5da66246983e0522212f370bdf Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Sun, 20 Feb 2022 12:51:18 -0500 Subject: Decomped CanUseOnSelfWithStatusChecker() --- asm/code_8057144.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asm/code_8057144.s') diff --git a/asm/code_8057144.s b/asm/code_8057144.s index efe2728..6aec5b4 100644 --- a/asm/code_8057144.s +++ b/asm/code_8057144.s @@ -911,7 +911,7 @@ sub_8057788: adds r0, r4, 0 bl GetMapEntityForDungeonEntity adds r5, r0, 0 - bl IsTileWater + bl IsTileGround lsls r0, 24 cmp r0, 0 beq _080577BA -- cgit v1.2.3 From 60a19d681cda14c4ebeab5d18a98e3b07a5e93a3 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Sun, 20 Feb 2022 21:59:07 -0500 Subject: Decomped GetMapTile_2 --- asm/code_8057144.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asm/code_8057144.s') diff --git a/asm/code_8057144.s b/asm/code_8057144.s index 6aec5b4..e3b2bf9 100644 --- a/asm/code_8057144.s +++ b/asm/code_8057144.s @@ -909,7 +909,7 @@ sub_8057788: movs r0, 0 mov r9, r0 adds r0, r4, 0 - bl GetMapEntityForDungeonEntity + bl GetMapTileForDungeonEntity_2 adds r5, r0, 0 bl IsTileGround lsls r0, 24 -- cgit v1.2.3 From 598a588589cb581b269f2e46373c657ec897a3a3 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Mon, 21 Feb 2022 15:59:34 -0500 Subject: Decomped CanAttackInFront() --- asm/code_8057144.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asm/code_8057144.s') diff --git a/asm/code_8057144.s b/asm/code_8057144.s index e3b2bf9..dc65f27 100644 --- a/asm/code_8057144.s +++ b/asm/code_8057144.s @@ -285,8 +285,8 @@ _08057340: bx r1 thumb_func_end sub_8057308 - thumb_func_start IsMoveUsable -IsMoveUsable: + thumb_func_start IsMoveUsable_1 +IsMoveUsable_1: push {r4-r7,lr} mov r7, r8 push {r7} @@ -357,7 +357,7 @@ _080573C0: pop {r4-r7} pop {r1} bx r1 - thumb_func_end IsMoveUsable + thumb_func_end IsMoveUsable_1 thumb_func_start IsMoveUsable_2 IsMoveUsable_2: -- cgit v1.2.3