improve goto_if macros
This commit is contained in:
@@ -4,8 +4,7 @@ FortreeCity_House2_MapScripts:: @ 82177CA
|
||||
FortreeCity_House2_EventScript_2177CB:: @ 82177CB
|
||||
lock
|
||||
faceplayer
|
||||
checkflag FLAG_0x108
|
||||
goto_eq FortreeCity_House2_EventScript_21786E
|
||||
goto_if_set FLAG_0x108, FortreeCity_House2_EventScript_21786E
|
||||
checkflag FLAG_0x076
|
||||
call_if 0, FortreeCity_House2_EventScript_217862
|
||||
msgbox FortreeCity_House2_Text_2178D6, MSGBOX_DEFAULT
|
||||
@@ -23,7 +22,7 @@ FortreeCity_House2_EventScript_2177CB:: @ 82177CB
|
||||
msgbox FortreeCity_House2_Text_217A28, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM10
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq FortreeCity_House2_EventScript_272054
|
||||
goto_if_eq FortreeCity_House2_EventScript_272054
|
||||
setflag FLAG_0x108
|
||||
msgbox FortreeCity_House2_Text_217A91, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
Reference in New Issue
Block a user