Use 'goto_if_eq VAR, value, Script' syntax

This commit is contained in:
GriffinR
2022-08-09 20:40:03 -04:00
parent 60fc8c5e22
commit f113da30ad
171 changed files with 1992 additions and 3453 deletions
+1 -2
View File
@@ -8,8 +8,7 @@ Route1_EventScript_MartClerk::
msgbox Route1_Text_WorkAtPokeMartTakeSample
textcolor NPC_TEXT_COLOR_NEUTRAL
checkitemspace ITEM_POTION
compare VAR_RESULT, FALSE
goto_if_eq EventScript_BagIsFull
goto_if_eq VAR_RESULT, FALSE, EventScript_BagIsFull
bufferitemname STR_VAR_2, ITEM_POTION
playfanfare MUS_LEVEL_UP
message Text_ObtainedTheX