script switch/case; name script conditionals
This commit is contained in:
@@ -30,10 +30,10 @@ Route11_EastEntrance_2F_EventScript_16FD5C:: @ 816FD5C
|
||||
goto_if_eq EventScript_16FDB6
|
||||
call EventScript_1A8CBD
|
||||
compare_var_to_value VAR_0x8004, 6
|
||||
goto_if 4, EventScript_16FDB6
|
||||
goto_if ge, EventScript_16FDB6
|
||||
call EventScript_1A8CC9
|
||||
compare_var_to_var VAR_RESULT, VAR_0x8009
|
||||
goto_if 5, EventScript_16FDC0
|
||||
goto_if ne, EventScript_16FDC0
|
||||
call EventScript_1A8CD9
|
||||
msgbox gUnknown_81A59DA
|
||||
setflag FLAG_0x251
|
||||
@@ -70,7 +70,7 @@ Route11_EastEntrance_2F_EventScript_16FDD8:: @ 816FDD8
|
||||
getnumberstring 2, VAR_0x8006
|
||||
call EventScript_16FE64
|
||||
compare_var_to_value VAR_0x8006, 30
|
||||
goto_if 0, EventScript_1A7ABD
|
||||
goto_if lt, EventScript_1A7ABD
|
||||
msgbox gUnknown_819EAE4
|
||||
checkitemspace ITEM_ITEMFINDER, 1
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
|
||||
Reference in New Issue
Block a user