mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-27 11:34:29 +00:00
use uniform naming between variables
https://github.com/zeldaret/oot/pull/2295#discussion_r1841202090
This commit is contained in:
parent
2ab3f6b66e
commit
e87bc05aff
1 changed files with 4 additions and 4 deletions
|
@ -304,17 +304,17 @@ void EnGo2_OfferItem(EnGo2* this, PlayState* play, s32 getItemId) {
|
|||
}
|
||||
|
||||
s32 EnGo2_GetDialogState(EnGo2* this, PlayState* play) {
|
||||
s16 dialogState = Message_GetState(&play->msgCtx);
|
||||
s16 messageState = Message_GetState(&play->msgCtx);
|
||||
|
||||
if ((this->messageState == TEXT_STATE_AWAITING_NEXT) || (this->messageState == TEXT_STATE_EVENT) ||
|
||||
(this->messageState == TEXT_STATE_CLOSING) || (this->messageState == TEXT_STATE_DONE_HAS_NEXT)) {
|
||||
if (dialogState != this->messageState) {
|
||||
if (messageState != this->messageState) {
|
||||
this->messageEntry++;
|
||||
}
|
||||
}
|
||||
|
||||
this->messageState = dialogState;
|
||||
return dialogState;
|
||||
this->messageState = messageState;
|
||||
return messageState;
|
||||
}
|
||||
|
||||
u16 EnGo2_GoronFireGenericGetTextId(EnGo2* this) {
|
||||
|
|
Loading…
Add table
Reference in a new issue