goto_if_eq and switch/case in scripts
This commit is contained in:
@@ -4,7 +4,7 @@ SevenIsland_SevaultCanyon_House_MapScripts:: @ 8172182
|
||||
SevenIsland_SevaultCanyon_House_EventScript_172183:: @ 8172183
|
||||
lock
|
||||
checkflag FLAG_0x002
|
||||
goto_if 1, EventScript_172211
|
||||
goto_if_eq EventScript_172211
|
||||
playbgm BGM_FRLG_CHANSEY_DANCE, 0
|
||||
applymovement 1, Movement_172231
|
||||
waitmovement 0
|
||||
@@ -16,7 +16,7 @@ SevenIsland_SevaultCanyon_House_EventScript_172183:: @ 8172183
|
||||
textcolor 3
|
||||
msgbox gUnknown_81A4DAF, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
goto_if 1, EventScript_172225
|
||||
goto_if_eq EventScript_172225
|
||||
msgbox gUnknown_81A4DD8
|
||||
closemessage
|
||||
call EventScript_1A6675
|
||||
|
||||
Reference in New Issue
Block a user