-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from lhearachel/party-gauge
Document entrypoint for showing/hiding the Party Gauge
- Loading branch information
Showing
18 changed files
with
1,002 additions
and
1,034 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef POKEPLATINUM_CONSTANTS_BATTLE_BATTLE_IO_H | ||
#define POKEPLATINUM_CONSTANTS_BATTLE_BATTLE_IO_H | ||
|
||
enum BattleIOCommand { | ||
BTLIOCMD_SHOW_BATTLE_START_PARTY_GAUGE = 48, | ||
BTLIOCMD_HIDE_BATTLE_START_PARTY_GAUGE, | ||
BTLIOCMD_SHOW_PARTY_GAUGE, | ||
BTLIOCMD_HIDE_PARTY_GAUGE, | ||
BTLIOCMD_LOAD_PARTY_GAUGE_GRAPHICS, | ||
BTLIOCMD_FREE_PARTY_GAUGE_GRAPHICS, | ||
}; | ||
|
||
enum BattleIORecipient { | ||
BTLIO_RECIPIENT_ENQUEUE = 1, | ||
}; | ||
|
||
#endif // POKEPLATINUM_CONSTANTS_BATTLE_BATTLE_IO_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#ifndef POKEPLATINUM_STRUCT_OV16_0226D160_DECL_H | ||
#define POKEPLATINUM_STRUCT_OV16_0226D160_DECL_H | ||
|
||
typedef struct UnkStruct_ov16_0226D160_t UnkStruct_ov16_0226D160; | ||
typedef struct PartyGauge PartyGauge; | ||
|
||
#endif // POKEPLATINUM_STRUCT_OV16_0226D160_DECL_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef POKEPLATINUM_STRUCT_BATTLE_IO_H | ||
#define POKEPLATINUM_STRUCT_BATTLE_IO_H | ||
|
||
#include "constants/pokemon.h" | ||
|
||
enum PartyGaugeBallStatus { | ||
BALL_STATUS_NO_MON = 0, | ||
BALL_STATUS_MON_ALIVE, | ||
BALL_STATUS_MON_FAINTED, | ||
BALL_STATUS_HAS_STATUS_CONDITION, | ||
}; | ||
|
||
typedef struct PartyGaugeData { | ||
u8 command; | ||
u8 padding_01; | ||
|
||
u8 status[MAX_PARTY_SIZE]; | ||
} PartyGaugeData; | ||
|
||
#endif // POKEPLATINUM_STRUCT_BATTLE_IO_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.