adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types * replaces some callstd calls with msgbox calls where equivalent * replaces msgbox and callstd calls using raw digits with versions that use the constants
This commit is contained in:
@@ -6,17 +6,17 @@ LilycoveCity_House2_EventScript_21ED75:: @ 821ED75
|
||||
faceplayer
|
||||
checkflag FLAG_0x0EA
|
||||
goto_eq LilycoveCity_House2_EventScript_21EDAC
|
||||
msgbox LilycoveCity_House2_Text_21EDB6, 4
|
||||
msgbox LilycoveCity_House2_Text_21EDB6, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM44
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq LilycoveCity_House2_EventScript_272054
|
||||
setflag FLAG_0x0EA
|
||||
msgbox LilycoveCity_House2_Text_21EDF9, 4
|
||||
msgbox LilycoveCity_House2_Text_21EDF9, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_House2_EventScript_21EDAC:: @ 821EDAC
|
||||
msgbox LilycoveCity_House2_Text_21EDF9, 4
|
||||
msgbox LilycoveCity_House2_Text_21EDF9, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user