Use 'goto_if_eq VAR, value, Script' syntax
This commit is contained in:
1 parent
60fc8c5e22
commit
f113da30ad
171 files changed
+1992
-3453
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user