mirror of
https://github.com/pret/pmd-red.git
synced 2026-08-20 15:55:05 -05:00
Decomped CanSee()
This commit is contained in:
@@ -272,10 +272,10 @@ struct DungeonEntity
|
||||
|
||||
enum EntityType
|
||||
{
|
||||
ENTITY_NONE = 0,
|
||||
ENTITY_POKEMON = 1,
|
||||
ENTITY_TRAP = 2,
|
||||
ENTITY_ITEM = 3
|
||||
ENTITY_NONE,
|
||||
ENTITY_POKEMON,
|
||||
ENTITY_TRAP,
|
||||
ENTITY_ITEM
|
||||
};
|
||||
|
||||
enum MovementFlag
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x71884
|
||||
bool8 CanSeeInvisible(struct DungeonEntity *pokemon);
|
||||
// 0x718AC
|
||||
bool8 HasTactic(struct DungeonEntity *pokemon, u8 tactic);
|
||||
// 0x718D8
|
||||
|
||||
9
include/dungeon_visibility.h
Normal file
9
include/dungeon_visibility.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef GUARD_DUNGEON_VISIBILITY_H
|
||||
#define GUARD_DUNGEON_VISIBILITY_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x45990
|
||||
bool8 CanSee(struct DungeonEntity *entity, struct DungeonEntity *targetEntity);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user