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
@@ -7,7 +7,7 @@ LilycoveCity_DepartmentStore_3F_EventScript_21FC65:: @ 821FC65
message gUnknown_08272A21
waitmessage
pokemart LilycoveCity_DepartmentStore_3F_Pokemart_21FC7C
msgbox gUnknown_08272A3F, 4
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
release
end
@@ -28,7 +28,7 @@ LilycoveCity_DepartmentStore_3F_EventScript_21FC8C:: @ 821FC8C
message gUnknown_08272A21
waitmessage
pokemart LilycoveCity_DepartmentStore_3F_Pokemart_21FCA4
msgbox gUnknown_08272A3F, 4
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
release
end
@@ -46,15 +46,15 @@ LilycoveCity_DepartmentStore_3F_Pokemart_21FCA4: @ 821FCA4
end
LilycoveCity_DepartmentStore_3F_EventScript_21FCB6:: @ 821FCB6
msgbox LilycoveCity_DepartmentStore_3F_Text_21FCD1, 2
msgbox LilycoveCity_DepartmentStore_3F_Text_21FCD1, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_3F_EventScript_21FCBF:: @ 821FCBF
msgbox LilycoveCity_DepartmentStore_3F_Text_21FD3B, 2
msgbox LilycoveCity_DepartmentStore_3F_Text_21FD3B, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_3F_EventScript_21FCC8:: @ 821FCC8
msgbox LilycoveCity_DepartmentStore_3F_Text_21FDB4, 2
msgbox LilycoveCity_DepartmentStore_3F_Text_21FDB4, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_3F_Text_21FCD1: @ 821FCD1