mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-10-24 08:23:29 -05:00
Formatting (again)
This commit is contained in:
@@ -6,11 +6,11 @@ script_obj::script_obj(const script_obj_params ¶ms) : params_(params) {}
|
||||
|
||||
bool script_obj::has_text() const
|
||||
{
|
||||
// So the thing is: when conditional_index is set, its value will always be
|
||||
// higher than 0 because the way these integer defines have been set up. So
|
||||
// that means that if conditional_index IS 0, then we must have a text entry
|
||||
// index defined instead! We can't base this check on the text_entry_index
|
||||
// itself since unfortunately its value being zero can be legit.
|
||||
// So the thing is: when conditional_index is set, its value will always be higher than 0
|
||||
// because the way these integer defines have been set up.
|
||||
// So that means that if conditional_index IS 0, then we must have a text entry index defined
|
||||
// instead! We can't base this check on the text_entry_index itself since unfortunately its
|
||||
// value being zero can be legit.
|
||||
return (params_.conditional_index == 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user