improve goto_if macros
This commit is contained in:
@@ -4,15 +4,14 @@ SootopolisCity_House6_MapScripts:: @ 8226F5B
|
||||
SootopolisCity_House6_EventScript_226F5C:: @ 8226F5C
|
||||
lock
|
||||
faceplayer
|
||||
checkflag FLAG_0x0F5
|
||||
goto_eq SootopolisCity_House6_EventScript_226FA3
|
||||
goto_if_set FLAG_0x0F5, SootopolisCity_House6_EventScript_226FA3
|
||||
msgbox SootopolisCity_House6_Text_226FC3, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
call_if 1, SootopolisCity_House6_EventScript_226F99
|
||||
msgbox SootopolisCity_House6_Text_227034, MSGBOX_DEFAULT
|
||||
givedecoration_std 117
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq SootopolisCity_House6_EventScript_226FAD
|
||||
goto_if_eq SootopolisCity_House6_EventScript_226FAD
|
||||
setflag FLAG_0x0F5
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user