more decomp

This commit is contained in:
Seth Barberee
2023-05-07 11:03:18 -07:00
parent c5014c3ca4
commit a601fd3a08
5 changed files with 193 additions and 459 deletions

View File

@@ -94,7 +94,7 @@ struct Dungeon
u8 fill65D[0x660 - 0x65D];
/* 0x660 */ s16 fractionalTurn; // Handles turn order when Pokémon have different movement speeds.
u8 fill662[0x666 - 0x662];
/* 0x666 */ u16 windTurns; // Turns remaining before getting swept out of the dungeon.
/* 0x666 */ s16 windTurns; // Turns remaining before getting swept out of the dungeon.
/* 0x668 */ u16 unk668;
u16 bossSongIndex;
u8 unk66C;
@@ -110,7 +110,9 @@ struct Dungeon
/* 0x676 */ bool8 itemHoldersIdentified;
u8 unk677;
u8 unk678;
u8 unk679[0x68A - 0x679];
u8 unk679;
u8 unk67A;
u8 unk67B[0x68A - 0x67B];
/* 0x68A */ u8 unk68A;
u8 fill68B[0x699 - 0x68B];
u8 unk699;

View File

@@ -3,6 +3,10 @@
#include "dungeon_entity.h"
u32 sub_8057144(struct Entity * pokemon);
bool8 sub_80571F0(struct Entity * pokemon, struct Move *move);
bool8 sub_805727C(struct Entity * pokemon, struct Entity * target, s32 chance);
bool8 sub_8057308(struct Entity *pokemon, s32 chance);
bool8 CanAIUseMove(struct Entity *pokemon, s32 moveIndex, bool8 hasPPChecker);
bool8 CanMonsterUseMove(struct Entity *pokemon, struct Move *move, bool8 hasPPChecker);