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
+2 -2
View File
@@ -2,7 +2,7 @@ RustboroCity_Flat2_1F_MapScripts:: @ 8215F76
.byte 0
RustboroCity_Flat2_1F_EventScript_215F77:: @ 8215F77
msgbox RustboroCity_Flat2_1F_Text_215F93, 2
msgbox RustboroCity_Flat2_1F_Text_215F93, MSGBOX_NPC
end
RustboroCity_Flat2_1F_EventScript_215F80:: @ 8215F80
@@ -10,7 +10,7 @@ RustboroCity_Flat2_1F_EventScript_215F80:: @ 8215F80
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
msgbox RustboroCity_Flat2_1F_Text_215FC6, 4
msgbox RustboroCity_Flat2_1F_Text_215FC6, MSGBOX_DEFAULT
waitmoncry
release
end