goto_if_eq and switch/case in scripts
This commit is contained in:
@@ -11,10 +11,10 @@ CeruleanCity_House3_EventScript_16A9B1:: @ 816A9B1
|
||||
setvar VAR_0x8008, 1
|
||||
call EventScript_1A8CAD
|
||||
checkflag FLAG_0x24A
|
||||
goto_if 1, EventScript_16AA23
|
||||
goto_if_eq EventScript_16AA23
|
||||
msgbox gUnknown_81A59FE, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
goto_if 1, EventScript_16AA0B
|
||||
goto_if_eq EventScript_16AA0B
|
||||
call EventScript_1A8CBD
|
||||
compare_var_to_value VAR_0x8004, 6
|
||||
goto_if 4, EventScript_16AA0B
|
||||
|
||||
Reference in New Issue
Block a user