Reformat compare + goto_if/call_if to single statements
This commit is contained in:
1 parent
c57efdba5d
commit
e66ea0cb99
293 files changed
+2990
-5978
No files matched your search
@@ -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