mirror of
https://github.com/pret/pmd-red.git
synced 2026-08-28 11:44:30 -05:00
dungeon info and dungeon item action externs
This commit is contained in:
@@ -2,24 +2,34 @@
|
||||
#define GUARD_DUNGEON_INFO_H
|
||||
|
||||
#include "structs/str_dungeon_location.h"
|
||||
#include "data_serializer.h"
|
||||
|
||||
extern const u16 *const gRandomItemsSets[];
|
||||
extern const u8 gUnknown_8108EC0[];
|
||||
|
||||
s32 GetDungeonFloorCount(u8 dungeon);
|
||||
s32 GetDungeonStartingFloor(u8 dungeon);
|
||||
const u8 *GetDungeonName1(u8 dungeon);
|
||||
const u8 *GetDungeonName2(u8 dungeon);
|
||||
bool8 IsStairDirectionUp(u8 dungeon);
|
||||
s16 GetTurnLimit(u8 dungeon);
|
||||
bool8 IsEnterWithoutGameSave(u8 dungeon);
|
||||
bool8 HasCheckpoint(u8 dungeon);
|
||||
bool8 IsLevelResetDungeon(u8 dungeon);
|
||||
u32 GetMaxItemsAllowed(u8 dungeon);
|
||||
bool8 IsMoneyAllowed(u8 dungeon);
|
||||
s8 GetRescuesAllowed(u8 dungeon);
|
||||
bool8 HasCheckpoint(u8 dungeon);
|
||||
u8 IsRecruitingEnabled(u8 dungeon);
|
||||
bool8 CanLeaderSwitch(u8 dungeon);
|
||||
s16 GetRandomMovementChance(u8 dungeon);
|
||||
bool8 sub_809017C(DungeonLocation* a1);
|
||||
void GeneralizeMazeDungeonLoc(DungeonLocation *dst, const DungeonLocation *src);
|
||||
void PrintYellowDungeonNametoBuffer(u8 *buffer, DungeonLocation *dungeonLocation);
|
||||
void PrintDungeonLocationtoBuffer(u8 *buffer, DungeonLocation *dungeonLocation);
|
||||
|
||||
void GeneralizeMazeDungeonLoc(DungeonLocation *dst, const DungeonLocation *src);
|
||||
void CopyDungeonName1toBuffer(u8 *buffer, DungeonLocation *dungeonLocation);
|
||||
s32 GetDungeonFloorCount(u8 dungeon);
|
||||
s32 GetDungeonStartingFloor(u8 dungeon);
|
||||
void WriteDungeonLocationBits(DataSerializer* r0, DungeonLocation* src);
|
||||
void ReadDungeonLocationBits(DataSerializer* r0, DungeonLocation* dst);
|
||||
bool8 DoEnemiesEvolveWhenKOed(u8 dungeon);
|
||||
|
||||
#define DUNGEON_REQUIREMENTS_PASS 0
|
||||
#define DUNGEON_REQUIREMENTS_FAIL 1
|
||||
@@ -29,6 +39,5 @@ u32 BufferDungeonRequirementsText(u8 dungeonIndex, s32 speciesId_, u8 *buffer, b
|
||||
u32 GetDungeonLocMissionDifficulty(DungeonLocation *dungeon);
|
||||
u8 GetRandomItemForValidDungeonLoc(DungeonLocation *dungeon, u32 param_2);
|
||||
bool8 IsNotValidDungeon(u8 dungeon);
|
||||
u8 IsRecruitingEnabled(u8 dungeon);
|
||||
|
||||
#endif // GUARD_DUNGEON_INFO_H
|
||||
|
||||
13
include/dungeon_item_action.h
Normal file
13
include/dungeon_item_action.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef GUARD_DUNGEON_ITEM_ACTION_H
|
||||
#define GUARD_DUNGEON_ITEM_ACTION_H
|
||||
|
||||
#include "structs/str_items.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
void sub_80479B8(char param_1, char param_2, u8 param_3, Entity *pokemon, Entity *target, Item *item);
|
||||
bool8 sub_8048950(Entity *param_1,Item *item);
|
||||
bool8 sub_8048A68(Entity *param_1,Item *item);
|
||||
bool8 sub_8048B9C(Entity *entity, Item *item);
|
||||
bool8 sub_8048D50(Entity *pokemon, Item *item);
|
||||
|
||||
#endif // GUARD_DUNGEON_ITEM_ACTION_H
|
||||
Reference in New Issue
Block a user