Use 'goto_if_eq VAR, value, Script' syntax
This commit is contained in:
@@ -22,8 +22,7 @@ SaffronCity_Gym_EventScript_DefeatedSabrina::
|
||||
SaffronCity_Gym_EventScript_GiveTM04::
|
||||
msgbox SaffronCity_Gym_Text_ExplainMarshBadgeTakeThis
|
||||
checkitemspace ITEM_TM04
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq SaffronCity_Gym_EventScript_NoRoomForTM04
|
||||
goto_if_eq VAR_RESULT, FALSE, SaffronCity_Gym_EventScript_NoRoomForTM04
|
||||
giveitem_msg SaffronCity_Gym_Text_ReceivedTM04FromSabrina, ITEM_TM04
|
||||
setflag FLAG_GOT_TM04_FROM_SABRINA
|
||||
msgbox SaffronCity_Gym_Text_SabrinaPostBattle
|
||||
|
||||
Reference in New Issue
Block a user