Use 'goto_if_eq VAR, value, Script' syntax
This commit is contained in:
1 parent
60fc8c5e22
commit
f113da30ad
171 files changed
+1992
-3453
No files matched your search
@@ -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::
|
||||
|
||||
Reference in new issue
Block a user