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:
Melody
2018-12-02 03:37:46 -05:00
parent 145047d438
commit c557ac61ae
354 changed files with 4538 additions and 4531 deletions
+3 -3
View File
@@ -25,14 +25,14 @@ NewMauville_Entrance_EventScript_2372FF:: @ 82372FF
lockall
applymovement 255, NewMauville_Entrance_Movement_2725A6
waitmovement 0
msgbox NewMauville_Entrance_Text_237382, 4
msgbox NewMauville_Entrance_Text_237382, MSGBOX_DEFAULT
checkitem ITEM_BASEMENT_KEY, 1
compare VAR_RESULT, 0
goto_eq NewMauville_Entrance_EventScript_237380
msgbox NewMauville_Entrance_Text_237396, 5
msgbox NewMauville_Entrance_Text_237396, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq NewMauville_Entrance_EventScript_237380
msgbox NewMauville_Entrance_Text_2373AC, 4
msgbox NewMauville_Entrance_Text_2373AC, MSGBOX_DEFAULT
setmetatile 3, 0, 707, 0
setmetatile 4, 0, 708, 0
setmetatile 5, 0, 709, 0