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
+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::