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
@@ -7,7 +7,7 @@ SlateportCity_Mart_EventScript_20DC49:: @ 820DC49
message gUnknown_08272A21
waitmessage
pokemart SlateportCity_Mart_Pokemart_20DC60
msgbox gUnknown_08272A3F, 4
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
release
end
@@ -26,11 +26,11 @@ SlateportCity_Mart_Pokemart_20DC60: @ 820DC60
end
SlateportCity_Mart_EventScript_20DC76:: @ 820DC76
msgbox SlateportCity_Mart_Text_20DC88, 2
msgbox SlateportCity_Mart_Text_20DC88, MSGBOX_NPC
end
SlateportCity_Mart_EventScript_20DC7F:: @ 820DC7F
msgbox SlateportCity_Mart_Text_20DCF8, 2
msgbox SlateportCity_Mart_Text_20DCF8, MSGBOX_NPC
end
SlateportCity_Mart_Text_20DC88: @ 820DC88