Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -20,8 +20,7 @@ FortreeCity_House2_EventScript_HiddenPowerGiver::
|
||||
case 0, FortreeCity_House2_EventScript_WrongGuess
|
||||
msgbox FortreeCity_House2_Text_YourHiddenPowerHasAwoken, MSGBOX_DEFAULT
|
||||
giveitem ITEM_TM10
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
goto_if_eq VAR_RESULT, 0, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM10
|
||||
msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
Reference in New Issue
Block a user