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
@@ -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