mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-13 03:25:43 -05:00
Removed function address comments in favor of .map file
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x570AC
|
||||
bool8 MoveMatchesChargingStatus(struct DungeonEntity *pokemon, struct PokemonMove *move);
|
||||
// 0x570F4
|
||||
// checkCharge = Check for the move named Charge.
|
||||
bool8 IsCharging(struct DungeonEntity *pokemon, bool8 checkCharge);
|
||||
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x44C94
|
||||
void SetAction(struct DungeonActionContainer *actionPointer, u16 action);
|
||||
// 0x44CA0
|
||||
void SetWalkAction(struct DungeonActionContainer *actionPointer, s16 species);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -12,17 +12,11 @@ struct MoveTargetResults
|
||||
s32 moveWeight;
|
||||
};
|
||||
|
||||
// 0x7BB94
|
||||
void DecideAttack(struct DungeonEntity *pokemon);
|
||||
// 0x7C04C
|
||||
s32 FindMoveTarget(struct MoveTargetResults *moveTargetResults, struct DungeonEntity *pokemon, struct PokemonMove *move);
|
||||
// 0x7C4A0
|
||||
bool8 IsTargetInLineRange(struct DungeonEntity *user, struct DungeonEntity *target, s32 range);
|
||||
// 0x7C580
|
||||
s32 WeightMoveIfUsable(s32 numPotentialTargets, s32 targetingFlags, struct DungeonEntity *user, struct DungeonEntity *target, struct PokemonMove *move, u32 hasStatusChecker);
|
||||
// 0x7C648
|
||||
bool8 CanUseStatusMove(s32 targetingFlags, struct DungeonEntity *user, struct DungeonEntity *target, struct PokemonMove *move, bool32 hasStatusChecker);
|
||||
// 0x7C7AC
|
||||
s32 WeightMove(struct DungeonEntity *user, s32 targetingFlags, struct DungeonEntity *target, u32 moveType);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x7C9F8
|
||||
bool8 IsTargetStraightAhead(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, s32 facingDir, s32 maxRange);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x48F28
|
||||
u32 EvaluateItem(struct DungeonEntity *targetPokemon, struct ItemSlot *item, u32 itemTargetFlags);
|
||||
// 0x494EC
|
||||
bool8 CanTargetAdjacentPokemon(struct DungeonEntity *pokemon);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,13 +4,9 @@
|
||||
#include "dungeon_entity.h"
|
||||
#include "position.h"
|
||||
|
||||
// 0x73658
|
||||
void DecideUseItem(struct DungeonEntity *pokemon);
|
||||
// 0x739DC
|
||||
void FindStraightThrowableTargets(struct DungeonEntity *pokemon, s32 thrownAIFlag, struct ItemSlot *item, bool8 ignoreRollChance);
|
||||
// 0x73AA0
|
||||
void FindRockItemTargets(struct DungeonEntity *pokemon, struct ItemSlot *item, struct Position potentialTargets[], bool8 ignoreRollChance);
|
||||
// 0x73B78
|
||||
void TargetThrownItem(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, struct ItemSlot *item, s32 targetingFlags, bool8 ignoreRollChance);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x75990
|
||||
void DecideAction(struct DungeonEntity *pokemon);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x71138
|
||||
bool8 CanAttackInFront(struct DungeonEntity *pokemon, s32 direction);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x71494
|
||||
bool8 ShouldAvoidEnemies(struct DungeonEntity *pokemon);
|
||||
// 0x71518
|
||||
bool8 ShouldAvoidEnemiesAndShowEffect(struct DungeonEntity *pokemon, bool8 showRunAwayEffect);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x71598
|
||||
u8 CanTarget(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, bool8 ignoreInvisible, bool8 checkPetrified);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x70B6C
|
||||
bool8 CannotMove(struct DungeonEntity *pokemon, bool8 checkBlinker);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,13 +3,9 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x70C60
|
||||
bool8 CannotUseItems(struct DungeonEntity *pokemon);
|
||||
// 0x70CD0
|
||||
bool8 CannotAct(struct DungeonEntity *pokemon);
|
||||
// 0x70d04
|
||||
bool8 CannotAttack(struct DungeonEntity *pokemon, bool8 skipSleep);
|
||||
// 0x70D6C
|
||||
bool8 CanMoveInDirection(struct DungeonEntity *pokemon, u32 facingDir);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_ENGINE_H
|
||||
#define GUARD_DUNGEON_ENGINE_H
|
||||
|
||||
// 0x441BC
|
||||
bool8 IsBossBattle();
|
||||
// 0x441E8
|
||||
bool8 IsFixedDungeon();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x46CB0
|
||||
bool8 HasItem(struct DungeonEntity *pokemon, u8 itemIndex);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -8,9 +8,7 @@ struct unkStruct_202F190
|
||||
struct MapTile* unk0[6];
|
||||
};
|
||||
|
||||
// 0x4954C
|
||||
struct MapTile* GetMapTile_1(s32 x, s32 y);
|
||||
// 0x49590
|
||||
struct MapTile* GetMapTile_2(s32 x, s32 y);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef GUARD_DUNGEON_MOVEMENT_H
|
||||
#define GUARD_DUNGEON_MOVEMENT_H
|
||||
|
||||
// 0x70328
|
||||
u8 GetCrossableTerrain(s16 species);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,22 +3,14 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x71824
|
||||
bool8 HasAbility(struct DungeonEntity *pokemon, u8 ability);
|
||||
// 0x71858
|
||||
bool8 HasType(struct DungeonEntity *pokemon, u8 type);
|
||||
// 0x71884
|
||||
bool8 CanSeeInvisible(struct DungeonEntity *pokemon);
|
||||
// 0x718AC
|
||||
bool8 HasTactic(struct DungeonEntity *pokemon, u8 tactic);
|
||||
// 0x718D8
|
||||
bool8 HasIQSkill(struct DungeonEntity *pokemon, u8 IQSkill);
|
||||
|
||||
void LoadIQSkills(struct DungeonEntity *pokemon);
|
||||
bool8 CanSeeTeammate(struct DungeonEntity * pokemon);
|
||||
u8 GetMoveTypeForPokemon(struct DungeonEntity *pokemon, struct PokemonMove *pokeMove);
|
||||
|
||||
// 0x71A44
|
||||
s32 CalculateMovePower(struct DungeonEntity *pokemon, struct PokemonMove *pokeMove);
|
||||
bool8 ToolboxEnabled(struct DungeonEntityData *pokemon);
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_RANDOM_H
|
||||
#define GUARD_DUNGEON_RANDOM_H
|
||||
|
||||
// 0x840E8
|
||||
s32 DungeonRandom(void);
|
||||
// 0x84100
|
||||
s32 DungeonRandomCapped(s32 cap);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef GUARD_DUNGEON_RANDOM_1_H
|
||||
#define GUARD_DUNGEON_RANDOM_1_H
|
||||
|
||||
// 0x84144
|
||||
bool8 RollPercentChance(s32 percentChance);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "position.h"
|
||||
|
||||
// 0x83294
|
||||
bool8 InSameRoom_2(struct Position *pos1, struct Position *pos2);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,13 +7,9 @@
|
||||
|
||||
extern const struct Position gAdjacentTileOffsets[NUM_DIRECTIONS];
|
||||
|
||||
// 0x450E0
|
||||
bool8 EntityExists(struct DungeonEntity *pokemon);
|
||||
// 0x450F8
|
||||
u32 GetEntityType(struct DungeonEntity *entity);
|
||||
// 0x45104
|
||||
struct DungeonEntityData *GetTrapData(struct DungeonEntity *entity);
|
||||
// 0x45108
|
||||
struct ItemSlot *GetItemData(struct DungeonEntity *entity);
|
||||
struct MapTile *GetMapTileForDungeonEntity_2(struct DungeonEntity *entity);
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x85A50
|
||||
bool8 IsMovingClient(struct DungeonEntity *entity);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x45990
|
||||
bool8 CanSee(struct DungeonEntity *entity, struct DungeonEntity *targetEntity);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef GUARD_NUMBER_UTIL_H
|
||||
#define GUARD_NUMBER_UTIL_H
|
||||
|
||||
// 0x94450
|
||||
s32 RoundUpFixedPoint(s32 fixedPointNumber);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "position.h"
|
||||
|
||||
// 0x983D8
|
||||
s32 CalculateFacingDir(struct Position *originPos, struct Position *targetPos);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#define FLASH_FIRE_STATUS_MAXED 1
|
||||
#define FLASH_FIRE_STATUS_NOT_MAXED 2
|
||||
|
||||
// 0x7723C
|
||||
u8 GetFlashFireStatus(struct DungeonEntity *pokemon);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,15 +4,10 @@
|
||||
#include "constants/move.h"
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x5C498
|
||||
bool8 CanUseOnSelfWithStatusChecker(struct DungeonEntity *pokemon, struct PokemonMove *move);
|
||||
// 0x5CEB8
|
||||
bool8 CanUseOnTargetWithStatusChecker(struct DungeonEntity *user, struct DungeonEntity *target, struct PokemonMove *move);
|
||||
// 0x5D810
|
||||
bool8 HasDisabledMove(struct PokemonMove *moves);
|
||||
// 0x5D850
|
||||
bool8 LastUsedMoveOutOfPP(struct PokemonMove *moves);
|
||||
// 0x5D888
|
||||
bool8 HasLastUsedMove(struct PokemonMove *moves);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
extern const s16 gConfusedAttackChance;
|
||||
|
||||
// 0x7001C
|
||||
bool8 HasStatusAffectingActions(struct DungeonEntity *pokemon);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,11 +3,8 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x70A58
|
||||
bool8 HasNegativeStatus(struct DungeonEntity *pokemon);
|
||||
// 0x70B28
|
||||
bool8 IsSleeping(struct DungeonEntity *pokemon);
|
||||
// 0x70B48
|
||||
bool8 HasQuarterHPOrLess(struct DungeonEntity* pokemon);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x69DCC
|
||||
void TargetTileInFront(struct DungeonEntity *pokemon);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "constants/move.h"
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x7CD64
|
||||
s16 GetMoveTargetingFlagsForPokemon(struct DungeonEntity *pokemon, struct PokemonMove *move, bool32 isAI);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,9 +7,7 @@
|
||||
#define DUNGEON_WATER_TYPE_LAVA 1
|
||||
#define DUNGEON_WATER_TYPE_WATER 2
|
||||
|
||||
// 0x4AF20
|
||||
bool8 IsTileGround(struct MapTile* tile);
|
||||
// 0x4AF74
|
||||
bool8 IsWaterTileset();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "position.h"
|
||||
|
||||
// 0x4AF74
|
||||
bool8 CanLayTrap(struct Position *pos);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x6E654
|
||||
s32 WeightWeakTypePicker(struct DungeonEntity *user, struct DungeonEntity *target, u8 moveType);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
|
||||
// 0x7E580
|
||||
u8 GetWeather(struct DungeonEntity* pokemon);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user