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

+2 -4
View File
@@ -3,10 +3,8 @@ EventScript_ItemfinderDigUpUnderfootItem::
textcolor NPC_TEXT_COLOR_NEUTRAL
waitse
call EventScript_TryPickUpHiddenItem
compare VAR_0x8007, TRUE
goto_if_eq EventScript_DigUpItemPutInPocket
compare VAR_0x8007, FALSE
goto_if_eq EventScript_DigUpItemBagIsFull
goto_if_eq VAR_0x8007, TRUE, EventScript_DigUpItemPutInPocket
goto_if_eq VAR_0x8007, FALSE, EventScript_DigUpItemBagIsFull
end
EventScript_DigUpItemPutInPocket::