battle_setup funcs
This commit is contained in:
1 parent
e48725d9b5
commit
b0400ef6ba
41 files changed
+1105
-2346
No files matched your search
+2
-1
@@ -42,6 +42,7 @@
|
||||
#include "constants/maps.h"
|
||||
#include "constants/moves.h"
|
||||
#include "constants/songs.h"
|
||||
#include "constants/map_types.h"
|
||||
|
||||
EWRAM_DATA void (*sItemUseOnFieldCB)(u8 taskId) = NULL;
|
||||
|
||||
@@ -259,7 +260,7 @@ bool8 ItemUseCheckFunc_Rod(void)
|
||||
{
|
||||
if (MetatileBehavior_IsSurfable(behavior) && !MapGridIsImpassableAt(x, y))
|
||||
return TRUE;
|
||||
if (MetatileBehavior_ReturnFalse_6(behavior) == TRUE)
|
||||
if (MetatileBehavior_IsBridge(behavior) == TRUE)
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
||||
Reference in new issue
Block a user