goto_if_eq and switch/case in scripts
This commit is contained in:
@@ -47,7 +47,7 @@ RocketHideout_B4F_EventScript_161363:: @ 8161363
|
||||
removeobject 2
|
||||
giveitem ITEM_SILPH_SCOPE
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
goto_if 1, EventScript_1A6BF9
|
||||
goto_if_eq EventScript_1A6BF9
|
||||
release
|
||||
end
|
||||
|
||||
@@ -71,7 +71,7 @@ RocketHideout_B4F_EventScript_1613AD:: @ 81613AD
|
||||
removeobject 4
|
||||
giveitem ITEM_LIFT_KEY
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
goto_if 1, EventScript_1A6BF9
|
||||
goto_if_eq EventScript_1A6BF9
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user