Move int to s32

This commit is contained in:
gamemasterplc 2024-05-10 20:41:02 -05:00
parent ec5f686ffb
commit 2f41ab51e7
8 changed files with 67 additions and 61 deletions

View file

@ -677,7 +677,7 @@ s32 BoardSpaceBlockExec(s32 player, s32 space)
if(space == GWSystem.block_pos) {
event_exec = 1;
}
if((int)GWSystem.bonus_star == 0 && GWPartyGet() == 1 && !_CheckFlag(FLAG_ID_MAKE(1, 11))) {
if(!GWBonusStarGet() && GWPartyGet() == 1 && !_CheckFlag(FLAG_ID_MAKE(1, 11))) {
event_exec = 0;
}
if(GWBoardGet() == 7 || GWBoardGet() == 8) {

View file

@ -172,7 +172,7 @@ static void ExecBoardWindow(void) {
HuPrcEnd();
}
int BoardWinChoiceGet(void) {
s32 BoardWinChoiceGet(void) {
return winChoice;
}
@ -292,7 +292,7 @@ void BoardWinKeyWait(void) {
winWait = 1;
}
int BoardWinSpeedGet(void) {
s32 BoardWinSpeedGet(void) {
return winSpeedTbl[GWMessSpeedGet()];
}