Use 'goto_if_eq VAR, value, Script' syntax

This commit is contained in:
GriffinR committed 2022-08-09 20:41:54 -04:00
1 parent 60fc8c5e22
commit f113da30ad
171 files changed
+1992 -3453

No files matched your search

+1 -2
View File
@@ -21,8 +21,7 @@ FuchsiaCity_Gym_EventScript_DefeatedKoga::
FuchsiaCity_Gym_EventScript_GiveTM06::
msgbox FuchsiaCity_Gym_Text_KogaExplainSoulBadge
checkitemspace ITEM_TM06
compare VAR_RESULT, FALSE
goto_if_eq FuchsiaCity_Gym_EventScript_NoRoomForTM06
goto_if_eq VAR_RESULT, FALSE, FuchsiaCity_Gym_EventScript_NoRoomForTM06
giveitem_msg FuchsiaCity_Gym_Text_ReceivedTM06FromKoga, ITEM_TM06
setflag FLAG_GOT_TM06_FROM_KOGA
msgbox FuchsiaCity_Gym_Text_KogaExplainTM06