improve goto_if macros
This commit is contained in:
@@ -38,7 +38,7 @@ Route111_EventScript_2765FF:: @ 82765FF
|
||||
faceplayer
|
||||
msgbox Route111_Text_2762C9, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 1
|
||||
goto_eq Route111_EventScript_27661E
|
||||
goto_if_eq Route111_EventScript_27661E
|
||||
msgbox Route111_Text_27655C, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
@@ -46,7 +46,7 @@ Route111_EventScript_2765FF:: @ 82765FF
|
||||
Route111_EventScript_27661E:: @ 827661E
|
||||
giveitem_std ITEM_TM43
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq Route111_EventScript_276680
|
||||
goto_if_eq Route111_EventScript_276680
|
||||
msgbox Route111_Text_27636E, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setflag FLAG_0x060
|
||||
|
||||
Reference in New Issue
Block a user