goto_if_eq and switch/case in scripts
This commit is contained in:
@@ -7,10 +7,10 @@ UndergroundPath_NorthEntrance_EventScript_160E39:: @ 8160E39
|
||||
setvar VAR_0x8008, 2
|
||||
call EventScript_1A8CAD
|
||||
checkflag FLAG_0x24B
|
||||
goto_if 1, EventScript_160EAB
|
||||
goto_if_eq EventScript_160EAB
|
||||
msgbox gUnknown_81A5AD6, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
goto_if 1, EventScript_160E93
|
||||
goto_if_eq EventScript_160E93
|
||||
call EventScript_1A8CBD
|
||||
compare_var_to_value VAR_0x8004, 6
|
||||
goto_if 4, EventScript_160E93
|
||||
|
||||
Reference in New Issue
Block a user