Skip to content

Commit

Permalink
Add msg consts to battle_input.c
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienntindall committed Jan 21, 2025
1 parent 28e8e81 commit c93a3db
Show file tree
Hide file tree
Showing 7 changed files with 421 additions and 397 deletions.
2 changes: 1 addition & 1 deletion include/battle/battle_display.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ u8 Battler_Type(BattlerData *param0);
u8 Battler_BootState(BattlerData *param0);
Sprite *ov16_02263AFC(BattlerData *param0);
Healthbar *ov16_02263B08(BattlerData *param0);
UnkStruct_ov16_0226C378 *ov16_02263B0C(BattlerData *param0);
BattleCursorPosition *Battler_GetCursorPosition(BattlerData *param0);
void ov16_02263B10(BattlerData *param0);
void ov16_02263B20(BattlerData *param0, int param1);

Expand Down
2 changes: 1 addition & 1 deletion include/battle/battle_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void ov16_0226BCCC(BattleInput *input, int param1);
BOOL ov16_0226BCD0(BattleInput *input);
int ov16_0226CD08(BattleInput *input);
void ov16_0226CD10(BattleInput *input, int param1);
void ov16_0226CEB0(BattleInput *input, int param1);
void BattleInput_PrintRecordingStopMessage(BattleInput *input, int param1);
u8 ov16_0226D088(BattleInput *input);

#endif // POKEPLATINUM_OV16_0226871C_H
2 changes: 1 addition & 1 deletion include/battle/struct_ov16_0225BFFC_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct BattlerData {
Sprite *unk_20;
Window *unk_24;
Healthbar healthbar;
UnkStruct_ov16_0226C378 unk_7B;
BattleCursorPosition unk_7B;
BallRotation *unk_84;
UnkStruct_ov12_02223764 *unk_88;
void *unk_8C;
Expand Down
10 changes: 5 additions & 5 deletions include/battle/struct_ov16_0226C378.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
#define POKEPLATINUM_STRUCT_OV16_0226C378_H

typedef struct {
s8 unk_00;
s8 unk_01;
s8 unk_02;
s8 unk_03;
s8 commandX;
s8 commandY;
s8 moveX;
s8 moveY;
s8 unk_04;
s8 unk_05;
s8 unk_06;
u8 unk_07[1];
} UnkStruct_ov16_0226C378;
} BattleCursorPosition;

#endif // POKEPLATINUM_STRUCT_OV16_0226C378_H
4 changes: 2 additions & 2 deletions src/battle/battle_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -5680,14 +5680,14 @@ Healthbar *ov16_02263B08(BattlerData *param0)
return &param0->healthbar;
}

UnkStruct_ov16_0226C378 *ov16_02263B0C(BattlerData *param0)
BattleCursorPosition *Battler_GetCursorPosition(BattlerData *param0)
{
return &param0->unk_7B;
}

void ov16_02263B10(BattlerData *param0)
{
MI_CpuClear8(&param0->unk_7B, sizeof(UnkStruct_ov16_0226C378));
MI_CpuClear8(&param0->unk_7B, sizeof(BattleCursorPosition));
}

void ov16_02263B20(BattlerData *param0, int param1)
Expand Down
Loading

0 comments on commit c93a3db

Please sign in to comment.