Reformat compare + goto_if/call_if to single statements

This commit is contained in:
GriffinR
2021-11-18 23:06:30 -05:00
parent c57efdba5d
commit e66ea0cb99
293 changed files with 2990 additions and 5978 deletions
@@ -7,8 +7,7 @@ RustboroCity_DevonCorp_3F_MapScripts::
.byte 0
RustboroCity_DevonCorp_3F_OnTransition:
compare VAR_DEVON_CORP_3F_STATE, 0
call_if_eq RustboroCity_DevonCorp_3F_EventScript_SetEmployeePos
call_if_eq VAR_DEVON_CORP_3F_STATE, 0, RustboroCity_DevonCorp_3F_EventScript_SetEmployeePos
end
RustboroCity_DevonCorp_3F_EventScript_SetEmployeePos::
@@ -164,8 +163,7 @@ RustboroCity_DevonCorp_3F_EventScript_MrStone::
RustboroCity_DevonCorp_3F_EventScript_GiveExpShare::
msgbox RustboroCity_DevonCorp_3F_Text_ThankYouForDeliveringLetter, MSGBOX_DEFAULT
giveitem ITEM_EXP_SHARE
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_EXP_SHARE
msgbox RustboroCity_DevonCorp_3F_Text_ExplainExpShare, MSGBOX_DEFAULT
closemessage