Renaming boolean values
This commit is contained in:
@@ -41,13 +41,16 @@ bool func_8038B160(Actor *this){
|
||||
|
||||
local = (ActorLocal_Yumblie *)&this->local;
|
||||
temp_v0 = func_8038A9E0(local->game_marker);
|
||||
if ((temp_v0 == 1) || (temp_v0 == 4))
|
||||
return FALSE;
|
||||
|
||||
if ((temp_v0 == 2) || (temp_v0 == 5))
|
||||
return (0.7 <= randf ()) ? TRUE : FALSE;
|
||||
|
||||
return (randf () >= 0.5)? TRUE : FALSE;
|
||||
if ((temp_v0 == 1) || (temp_v0 == 4)) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if ((temp_v0 == 2) || (temp_v0 == 5)) {
|
||||
return BOOL(0.7 <= randf());
|
||||
}
|
||||
|
||||
return BOOL(randf() >= 0.5);
|
||||
}
|
||||
|
||||
void chyumblie_set_state(Actor* this, enum chyumblie_state_e next_state){
|
||||
|
@@ -693,7 +693,7 @@ void chvilegame_update(Actor *this) {
|
||||
if (item_empty(ITEM_6_HOURGLASS)) {
|
||||
if (volatileFlag_get(VOLATILE_FLAG_2_FF_IN_MINIGAME)) {
|
||||
volatileFlag_set(VOLATILE_FLAG_3, 0);
|
||||
volatileFlag_set(VOLATILE_FLAG_5_FF_MINIGAME_WON, ( local->vile_score < local->player_score) ? TRUE : FALSE);
|
||||
volatileFlag_set(VOLATILE_FLAG_5_FF_MINIGAME_WON, BOOL(local->vile_score < local->player_score));
|
||||
func_8038A068(this, 1);
|
||||
} else if (local->vile_score < local->player_score) {
|
||||
if (local->unkC == 3) {
|
||||
|
Reference in New Issue
Block a user